Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Fork of VodafoneUSBModem by
Revision 87:62af9b9d3e13, committed 2013-03-21
- Comitter:
- ashleymills
- Date:
- Thu Mar 21 14:03:57 2013 +0000
- Parent:
- 86:adfd686297d6
- Child:
- 88:51dc1f37cc9a
- Commit message:
- Increased timeout for modem init (we need to make this a constructor option).
Changed in this revision
| VodafoneUSBModem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/VodafoneUSBModem.cpp Fri Mar 08 13:44:03 2013 +0000
+++ b/VodafoneUSBModem.cpp Thu Mar 21 14:03:57 2013 +0000
@@ -18,7 +18,7 @@
*/
-#define __DEBUG__ 0
+#define __DEBUG__ 4
#ifndef __MODULE__
#define __MODULE__ "VodafoneUSBModem.cpp"
@@ -507,7 +507,7 @@
int VodafoneUSBModem::init()
{
- DBG("Entering init method for the VodafoneUSBModme");
+ DBG("Entering init method for the VodafoneUSBModem");
if( !m_dongleConnected )
{
DBG("Dongle is not connected");
@@ -532,7 +532,7 @@
detectConnectedModem = true; // OK we can break out this while loop now - the dongle has been connected
break; // Break out of the for loop once the dongle is connected - otherwise try for a while more
}
- Thread::wait(10);
+ Thread::wait(1000);
}
if (!detectConnectedModem)
{
