Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: Tests/Test16.h
- Revision:
- 31:9231acdde9ff
- Parent:
- 29:c0e6f198db84
- Child:
- 33:16126e029d58
--- a/Tests/Test16.h Wed Sep 12 10:18:28 2012 +0000 +++ b/Tests/Test16.h Wed Sep 12 16:55:00 2012 +0000 @@ -6,8 +6,11 @@ // if the method that sends a message returns an error it will fail. // it will report the test as failed if any of the above happens. // it does not wait after it has succesfully sent an SMS. +// this test basic characters and numbers can be sent via SMS. +static const char *gTest16Description = "Send an SMS message with basic characters and numbers..."; + class Test16 : public VodafoneTestCase { public: @@ -56,9 +59,9 @@ LOG("Test %d sending an SMS message...", _testCaseNumber); - LOG("Sending SMS:' %s ' to test phone: %s , waiting for response.", allCharsMessage, testPhoneNumber); + LOG("Sending SMS:' %s ' to test phone: %s , waiting for response.", alphabetNumbersMessage, testPhoneNumber); - int ret = _modem->sendSM(testPhoneNumber, allCharsMessage); + int ret = _modem->sendSM(testPhoneNumber, alphabetNumbersMessage); if (ret) { @@ -73,12 +76,10 @@ return false; } LOG("Test %d passed...", _testCaseNumber); - return true; - + return true; } private: - char gsm03dot38CharacterSet[127]; - + }; \ No newline at end of file