Novatel Wireless power cycle



Hi all,

I noticed in the modemmanager Novatel plugin code there's nothing there to power cycle the modem on disable/enable. This is a problem for me since I've found that one modem in particular, the MC760, it'll sometimes get into this state where the radio always tells the modem there's No Carrier until you power cycle it.

I don't know about the GSM devices, but I've been developing for a little while now with the CDMA devices. There's definitely a way to do it. Using strace and the NovaCore SDK (which I have obtained from Novatel's software development department and without signing an NDA), I've found that the following goes out over the QCDM port when you turn the radio off in the SDK:

write(4, "K\17\0\0\273`~", 7)           = 7
write(4, "K\372\7\0\7\377\377\0\0\344o~", 12) = 12
write(4, "K\17\0\0\273`~", 7)           = 7
write(4, ")\1\0001@~", 6)               = 6
write(4, "K\17\0\0\273`~", 7)           = 7
write(4, "K\17\0\0\273`~", 7)           = 7

However, I have no idea what this means -- I can't find any documentation to speak of for QCDM so its just opaque binary to me.

If someone is willing to assist me with the QCDM portion or give me some pointers, I'd be happy to reverse engineer power off, power on, and reset, and contribute a patch back. Again this is just for CDMA -- the NovaCore SDK does support GSM devices but I don't own one. If someone else has one, I can send you the NovaCore SDK to reverse engineer this for GSM modems.

Thanks,
David


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]