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.
Dependents: mtsas mtsas mtsas mtsas
Diff: Cellular/EasyIP.cpp
- Revision:
- 57:7eb2eb536d4a
- Parent:
- 56:43205bd2752a
- Child:
- 59:5535f14e3cc4
--- a/Cellular/EasyIP.cpp Wed Aug 13 16:46:10 2014 +0000
+++ b/Cellular/EasyIP.cpp Wed Aug 13 17:13:51 2014 +0000
@@ -605,9 +605,9 @@
}
bool EasyIP::socketCheck() {
+ enum SocketStatus {SOCKETCLOSED = 0, SOCKETACTIVEDATA = 1, SOCKETSUSPEND = 2, SOCKETSUSPENDDATA = 3, SOCKETLISTEN = 4, SOCKETINCOMING = 5, ERROR = 9};
bool status = false;
int socketInfo = ERROR;
- enum SocketStatus {SOCKETCLOSED = 0, SOCKETACTIVEDATA = 1, SOCKETSUSPEND = 2, SOCKETSUSPENDDATA = 3, SOCKETLISTEN = 4, SOCKETINCOMING = 5, ERROR = 9};
std::vector<std::string> params;
//Goes from data mode to command mode