Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems
Dependents: mtsas mtsas mtsas mtsas
Diff: Test/TestSMS.h
- Revision:
- 20:7cc2f55fb16b
- Parent:
- 18:fa0d8120f81f
- Child:
- 21:916ef2da10f1
--- 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);