local fork

Dependencies:   Socket USBHostWANDongle_bleedingedge lwip-sys lwip

Dependents:   Encrypted

Fork of VodafoneUSBModem_bleedingedge by Donatien Garnier

Revision:
76:c0e63c16306e
Parent:
75:a6ac8206a58d
Child:
77: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
   {