local fork

Dependencies:   Socket USBHostWANDongle_bleedingedge lwip-sys lwip

Dependents:   Encrypted

Fork of VodafoneUSBModem_bleedingedge by Donatien Garnier

Files at this revision

API Documentation at this revision

Comitter:
ashleymills
Date:
Tue Jan 29 13:49:23 2013 +0000
Parent:
77:da03da068398
Child:
79:897a0de9d668
Commit message:
Turn off unsolicited sim-toolkit events for K3773.

Changed in this revision

VodafoneUSBModem.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/VodafoneUSBModem.cpp	Tue Jan 29 13:45:01 2013 +0000
+++ b/VodafoneUSBModem.cpp	Tue Jan 29 13:49:23 2013 +0000
@@ -575,7 +575,12 @@
   else if(m_dongle.getDongleType()== WAN_DONGLE_TYPE_VODAFONEK3773)
   {
      INFO("Using a Vodafone K3773 M2M dongle.");
+     INFO("Disabling sim toolkit notifications");
      ret = m_at.executeSimple("at^stsf=0",NULL);
+     if(ret!=0) {
+        return NET_PROTOCOL;
+     }
+     INFO("Disabling other unsolicited notifications");
      ret = m_at.executeSimple("at^curc=0",NULL);
      if(ret!=0) {
         return NET_PROTOCOL;