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.
Fork of MTS-Cellular by
Diff: Cellular/EasyIP.cpp
- Revision:
- 38:b2088faa8bfd
- Parent:
- 35:257eb41405e1
- Child:
- 40:ecef43f87c7a
--- a/Cellular/EasyIP.cpp Wed Jul 23 16:04:41 2014 +0000 +++ b/Cellular/EasyIP.cpp Fri Jul 25 18:05:50 2014 +0000 @@ -48,9 +48,6 @@ if(sendBasicCommand("AT&K=3", 2000) != MTS_SUCCESS) { logWarning("Failed to set flow control to radio"); } - if(sendBasicCommand("AT+IFC=2,2", 2000) != MTS_SUCCESS) { - logWarning("Failed to set flow control to radio"); - } return true; } @@ -387,7 +384,7 @@ } //5) Open Socket sprintf(sOpenSocketCmd, "AT#SD=1,%d,%d,%s,%d,%d,0", typeSocket, port, address.c_str(),closeType , local_port); - std::string response = sendCommand(sOpenSocketCmd, 140000); + std::string response = sendCommand(sOpenSocketCmd, 60000); if(response.find("CONNECT") != std::string::npos) { host_address = address;