Changes to support Vodafone K4606
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Fork of VodafoneUSBModem by
Diff: VodafoneUSBModem.cpp
- Revision:
- 74:b70519f17a22
- Parent:
- 71:0da249386019
- Child:
- 84:39e28d162195
--- 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; } }