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: Test/TestSMS.h
- Revision:
- 20:7cc2f55fb16b
- Parent:
- 18:fa0d8120f81f
- Child:
- 21:916ef2da10f1
diff -r f6261f1c3dd4 -r 7cc2f55fb16b Test/TestSMS.h
--- a/Test/TestSMS.h Tue Jun 17 21:40:53 2014 +0000
+++ b/Test/TestSMS.h Tue Jun 17 21:58:46 2014 +0000
@@ -18,6 +18,8 @@
Cellular* radio;
};
+const char APN[] = "";
+
TestSMS::TestSMS() : TestCollection("TestSMS") {}
void TestSMS::run() {
@@ -46,7 +48,7 @@
if (i >= 10) {
Test::assertTrue(false);
}
- if (radio->setApn("wap.cingular") == SUCCESS) {
+ if (radio->setApn(APN) == SUCCESS) {
break;
} else {
wait(1);
