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:
- 10:42220b7df921
- Parent:
- 9:b2e3862705fc
- Child:
- 11:892ffac4946b
diff -r b2e3862705fc -r 42220b7df921 Test/TestTCPSocketConnection.h
--- a/Test/TestTCPSocketConnection.h Tue Jun 17 21:59:55 2014 +0000
+++ b/Test/TestTCPSocketConnection.h Tue Jun 17 22:02:54 2014 +0000
@@ -42,12 +42,13 @@
const char TCP_TEST_SERVER[] = "";
const int TCP_TEST_PORT = -1;
-const char APN[] = "";
TestTCPSocketConnection::TestTCPSocketConnection() : TestCollection("TestTCPSocketConnection") {}
void TestTCPSocketConnection::run()
{
+ const char APN[] = "";
+
MTSLog::setLogLevel(MTSLog::TRACE_LEVEL);
Test::start("Setup");
io = new MTSSerialFlowControl(D8, D2, D3, D6);
@@ -63,7 +64,7 @@
if (i >= 10) {
Test::assertTrue(false);
}
- if (radio->setApn("wap.cingular") == SUCCESS) {
+ if (radio->setApn(APN) == SUCCESS) {
break;
} else {
wait(1);