Changes to support Vodafone K4606
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Fork of VodafoneUSBModem by
Diff: VodafoneUSBModem.cpp
- Revision:
- 80:c0e63c16306e
- Parent:
- 79:a6ac8206a58d
- Child:
- 81:da03da068398
--- a/VodafoneUSBModem.cpp Wed Jan 09 16:13:50 2013 +0000 +++ b/VodafoneUSBModem.cpp Tue Jan 15 17:24:37 2013 +0000 @@ -580,6 +580,13 @@ { INFO("Using a Huawei MU509 module."); m_ppp.setHangupViaATPort(true); + + // 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 + ret = m_at.executeSimple("at+csmp=1,,0,0",NULL); + if(ret!=0) { + return NET_PROTOCOL; + } } else {