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:
- 73:bba8669d36f7
- Parent:
- 72:7862171b277d
- Parent:
- 71:8e8152d955d1
- Child:
- 76:6eeffc10739d
--- a/Cellular/EasyIP.cpp Fri Jan 23 16:51:13 2015 -0600 +++ b/Cellular/EasyIP.cpp Mon Feb 09 20:47:37 2015 +0000 @@ -46,6 +46,11 @@ if(sendBasicCommand("AT+IFC=2,2", 2000) != MTS_SUCCESS) { logWarning("Failed to enable serial flow control"); } + // Shorten data sending timeout from 5s to 100ms + // Some servers won't handle a timeout that long + if (sendBasicCommand("AT#SCFG=1,1,300,90,600,1", 2000) != MTS_SUCCESS) { + logWarning("Failed to reconfigure socket timeout parameters"); + } return true; }