phs fan / AbitUSBModem

Dependencies:   Socket lwip-sys lwip

Dependents:   AbitUSBModem_HTTPTest AbitUSBModem_MQTTTest AbitUSBModem_WebsocketTest AbitUSBModem_SMSTest

Fork of VodafoneUSBModem by mbed official

Revision:
98:1b851249d70b
Parent:
97:7d9cc95e2ea7
diff -r 7d9cc95e2ea7 -r 1b851249d70b ip/PPPIPInterface.cpp
--- a/ip/PPPIPInterface.cpp	Wed Feb 18 14:11:24 2015 +0000
+++ b/ip/PPPIPInterface.cpp	Wed Feb 18 15:32:57 2015 +0000
@@ -104,7 +104,7 @@
 /*virtual*/ int PPPIPInterface::connect()
 {
     int ret;
-    char buf[32];
+    char buf[40];
     size_t len;
     DBG("Trying to connect with PPP");
 
@@ -119,7 +119,7 @@
 
     DBG("Expect %s", EXPECTED_RESP);
 
-    Thread::wait(500);
+    Thread::wait(100);
     len = 0;
     size_t readLen;
     ret = m_pStream->read((uint8_t*)buf + len, &readLen, EXPECTED_RESP_MIN_LEN, DEFAULT_TIMEOUT);