Vodafone K3770/K3772-Z modems driver & networking library
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Dependents: VodafoneUSBModemHTTPClientTest VodafoneUSBModemNTPClientTest VodafoneUSBModemSMSTest VodafoneUSBModemUSSDTest ... more
Fork of VodafoneUSBModem_bleedingedge by
This is the driver for the Vodafone K3700 & K3772-Z Dongles:
More details and instructions can be found here.
Diff: VodafoneUSBModem.cpp
- Revision:
- 83:897a0de9d668
- Parent:
- 82:ab4d6263f25c
- Child:
- 84:39e28d162195
--- 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 {