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
This is the driver for the Vodafone K3700 & K3772-Z Dongles:
More details and instructions can be found here.
Revision 74:b70519f17a22, committed 2013-02-21
- Comitter:
- nherriot
- Date:
- Thu Feb 21 09:28:51 2013 +0000
- Parent:
- 73:ed96bd79cb48
- Child:
- 84:39e28d162195
- Commit message:
- small debug output changes. and a for loop to retry connecting 100 times if modem has just been inserted.
Changed in this revision
USBHostWANDongle.lib | Show annotated file Show diff for this revision Revisions of this file |
VodafoneUSBModem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBHostWANDongle.lib Sun Feb 10 21:38:17 2013 +0000 +++ b/USBHostWANDongle.lib Thu Feb 21 09:28:51 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/donatien/code/USBHostWANDongle_bleedingedge/#e1f5ba831485 +http://mbed.org/users/donatien/code/USBHostWANDongle_bleedingedge/#b8739fd10faf
--- a/VodafoneUSBModem.cpp Sun Feb 10 21:38:17 2013 +0000 +++ b/VodafoneUSBModem.cpp Thu Feb 21 09:28:51 2013 +0000 @@ -17,7 +17,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#define __DEBUG__ 0 +#define __DEBUG__ 4 #ifndef __MODULE__ #define __MODULE__ "VodafoneUSBModem.cpp" #endif @@ -537,6 +537,9 @@ // OK we got this far - so give up trying and let someone know you can't see the modem m_dongleConnected = false; // set the member variable of this object to false - so if we get called again we know we have to try to detect again ERR("There is no dongle pluged into the board, or the module does not respond. Is the module/modem switched on?"); + Thread:wait(1000); + //DBG("Last ditch attempt to re-initialise the USB Subsystem"); + //m_dongle.init(); return HARDWARE_NO_RESPONSE; } }