On Thu, May 26, 2016 at 11:32:47AM -0600, Daniel Drake wrote: > On Thu, May 26, 2016 at 9:51 AM, Dan Williams <[email protected]> wrote: > > So with that in mind, the question is how to figure out that the device > > is capable of HiLink/ethernet mode and expose that somehow to > > connection managers. > > > > If you could run these commands on cdc-wdmX or whatever other serial > > port the device exposes, what are the results? > > > > AT^U2DIAG? > > AT^U2DIAG=? > > socat - /dev/ttyUSB0 > AT^U2DIAG=? > ERROR > > AT^U2DIAG? > ERROR > > socat - /dev/cdc-wdm0 > > ^DSFLOWRPT:0000029B,00000000,00000000,0000000000000906,0000000000000E07,00000000,00000000 > > ^DSFLOWRPT:0000029D,00000000,00000000,0000000000000906,0000000000000E07,00000000,00000000 > > ^DSFLOWRPT:0000029F,00000000,00000000,0000000000000906,0000000000000E07,00000000,00000000 > ^RSSI: 13 > ^HCSQ: "WCDMA",39,34,55 > > I get a lot of messages here from the device but it doesn't seem to > respond to any commands, not even AT.
Hi, my guess is that the AT interface may be running in a restricted mode while HiLink mode is active. I own a E303s-2 which does not provide AT interfaces at all when running in HiLink mode. For such configurations the API described in https://chaddyhv.wordpress.com/2012/08/13/programming-and-installing-huawei-hilink-e3131-under-linux/ may be the only possibility to get at status information or to send SMS. According to this thread http://xdsl.at/viewtopic.php?f=40&t=55237 (in german) some HiLink devices also seem to provide UPNP for controlling IP-related settings. Please note that there may be potential security problems for some devices when running in HiLink mode as described here http://b.fl7.de/2014/05/huawei-e303-sms-vulnerability-CVE-2014-2946.html . Regards, Reinhard _______________________________________________ ModemManager-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
