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 Donatien Garnier

This is the driver for the Vodafone K3700 & K3772-Z Dongles:

K3770

More details and instructions can be found here.

Revision:
79:a6ac8206a58d
Parent:
77:6083cb11f170
Child:
80:c0e63c16306e
--- a/VodafoneUSBModem.cpp	Wed Dec 19 09:32:58 2012 +0000
+++ b/VodafoneUSBModem.cpp	Wed Jan 09 16:13:50 2013 +0000
@@ -34,7 +34,7 @@
    m_sms(&m_at),                       // Construct SMSInterface with the ATCommandsInterface
    m_ussd(&m_at),                      // Construct USSDInterface with the ATCommandsInterface
    m_linkMonitor(&m_at),               // Construct LinkMonitor with the ATCommandsInterface
-   m_ppp(&m_pppStream),                // Construct PPPIPInterface with the PPP serial channel
+   m_ppp(&m_pppStream,&m_atStream,&m_at,false), // Construct PPPIPInterface with the PPP serial channel
    m_dongleConnected(false),           // Dongle is initially not ready for anything
    m_ipInit(false),                    // PPIPInterface connection is initially down
    m_smsInit(false),                   // SMSInterface starts un-initialised
@@ -572,6 +572,15 @@
     }
     */
   }
+  else if(m_dongle.getDongleType()== WAN_DONGLE_TYPE_VODAFONEK3773)
+  {
+     INFO("Using a Vodafone K3773 M2M dongle.");
+  }
+  else if(m_dongle.getDongleType()== WAN_DONGLE_TYPE_VODAFONEMU509)
+  {
+     INFO("Using a Huawei MU509 module.");
+     m_ppp.setHangupViaATPort(true);
+  }
   else
   {
     WARN("Using an Unknown Dongle");