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:
- 48:3f9d82915e83
- Parent:
- 47:16a9297b59ba
- Child:
- 52:2cb58398a4f9
diff -r 16a9297b59ba -r 3f9d82915e83 Test/TestSMS.h
--- a/Test/TestSMS.h Fri Aug 01 16:19:39 2014 +0000
+++ b/Test/TestSMS.h Fri Aug 01 21:54:36 2014 +0000
@@ -72,7 +72,7 @@
Test::assertTrue(radio->getReceivedSms().size() == 0);
Test::end();
- Test::start("Send SMS");
+ Test::start("Send SMS 1");
logInfo("finding my phone number");
while (true) {
response = radio->sendCommand("AT+CNUM", 1000);
@@ -95,6 +95,8 @@
}
Test::assertTrue(radio->sendSMS(number, smessages[0]) == MTS_SUCCESS);
+ Test::end();
+ Test::start("Send SMS 2");
Test::assertTrue(radio->sendSMS(number, smessages[1]) == MTS_SUCCESS);
Test::end();
