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:
33:f505faeda8e7
Parent:
27:37d3ac289e86
Child:
41:8bec5a8ea878
--- a/VodafoneUSBModem.h	Thu Sep 13 13:52:42 2012 +0000
+++ b/VodafoneUSBModem.h	Fri Sep 14 10:13:48 2012 +0000
@@ -37,8 +37,9 @@
 public:
   /** Create Vodafone USB Modem (K3770/K3772-Z) dongle API instance
       @param powerGatingPin Optional pin commanding a power gating transistor on the modem's power line 
+      @param powerGatingOnWhenPinHigh true if the pin needs to be high to power the dongle, defaults to true
    */
-  VodafoneUSBModem(PinName powerGatingPin = NC);
+  VodafoneUSBModem(PinName powerGatingPin = NC, bool powerGatingOnWhenPinHigh = true);
 
   //Internet-related functions
 
@@ -131,6 +132,7 @@
   bool m_atOpen;
   
   PinName m_powerGatingPin;
+  bool m_powerGatingOnWhenPinHigh;
 };