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:
- 71:8e8152d955d1
- Parent:
- 70:c0c621f88330
- Child:
- 73:bba8669d36f7
--- a/Cellular/EasyIP.cpp Tue Nov 11 19:03:43 2014 +0000 +++ b/Cellular/EasyIP.cpp Tue Feb 03 16:53:44 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; }