Cellular library for MTS Socket Modem Arduino Shield devices from Multi-Tech Systems

Dependents:   mtsas mtsas mtsas mtsas

Files at this revision

API Documentation at this revision

Comitter:
mfiore
Date:
Wed Jul 09 14:44:48 2014 +0000
Parent:
24:32d29cdfc1fa
Child:
31:529db15abda7
Commit message:
delete SMS messages at start of SMS unit test

Changed in this revision

Test/TestSMS.h Show annotated file Show diff for this revision Revisions of this file
--- a/Test/TestSMS.h	Mon Jun 23 14:33:01 2014 +0000
+++ b/Test/TestSMS.h	Wed Jul 09 14:44:48 2014 +0000
@@ -55,6 +55,9 @@
             wait(1);
         }
     }
+    
+    Test::assertTrue(radio->deleteAllReceivedSms() == MTS_SUCCESS);
+    Test::assertTrue(radio->getReceivedSms().size() == 0);
     Test::end();
     
     Test::start("Send SMS");