local fork
Dependencies: Socket USBHostWANDongle_bleedingedge lwip-sys lwip
Fork of VodafoneUSBModem_bleedingedge by
Diff: VodafoneUSBModem.cpp
- Revision:
- 79:897a0de9d668
- Parent:
- 78:ab4d6263f25c
- Child:
- 80:39e28d162195
diff -r ab4d6263f25c -r 897a0de9d668 VodafoneUSBModem.cpp --- a/VodafoneUSBModem.cpp Tue Jan 29 13:49:23 2013 +0000 +++ b/VodafoneUSBModem.cpp Tue Mar 05 14:54:15 2013 +0000 @@ -593,10 +593,17 @@ // this modem defaults to sending a delivery receipt to the SM storage area // need to disable this for the current library to work in a sensible manner + INFO("Disabling SMS delivery receipts"); ret = m_at.executeSimple("at+csmp=1,,0,0",NULL); if(ret!=0) { return NET_PROTOCOL; } + INFO("Disabling unsolicitied notifications"); + ret = m_at.executeSimple("AT^CURC=0", NULL); //Huawei-specific, not 3GPP-compliant + if(ret != OK) + { + return NET_PROTOCOL; + } } else {