local fork
Dependencies: Socket USBHostWANDongle_bleedingedge lwip-sys lwip
Fork of VodafoneUSBModem_bleedingedge by
Diff: VodafoneUSBModem.h
- Revision:
- 33:f505faeda8e7
- Parent:
- 27:37d3ac289e86
- Child:
- 41:8bec5a8ea878
diff -r 157dd8ce4e55 -r f505faeda8e7 VodafoneUSBModem.h --- 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; };