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: HTTPClient-SSL
Dependents: mtsas mtsas mtsas mtsas_lat3
Diff: Test/TestTCPSocketConnection.h
- Revision:
- 16:dbe80ac199f5
- Parent:
- 15:8b5fbb926688
- Child:
- 17:cbfa7314af15
--- a/Test/TestTCPSocketConnection.h Wed Jul 23 16:24:30 2014 +0000
+++ b/Test/TestTCPSocketConnection.h Mon Aug 11 15:43:15 2014 +0000
@@ -131,12 +131,10 @@
result.append(buffer, bytesRead);
}
logInfo("Total Bytes Read: %d", result.size());
- if(result.find(MENU_LINE1) != std::string::npos) {
+ if(result.find(MENU) != std::string::npos) {
break;
}
} while(tmr.read() <= 40);
-
- wait(5);
logInfo("Received: [%d] [%s]", result.size(), result.c_str());