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 lwip-sys lwip
Dependents: AbitUSBModem_HTTPTest AbitUSBModem_MQTTTest AbitUSBModem_WebsocketTest AbitUSBModem_SMSTest
Fork of VodafoneUSBModem by
Diff: ip/PPPIPInterface.cpp
- 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);