Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Revision 73:effa8fcd45fc, committed 2013-09-20
- Comitter:
- ashleymills
- Date:
- Fri Sep 20 14:18:05 2013 +0000
- Parent:
- 72:0e8e769fcf76
- Child:
- 74:e52ac9624f7f
- Commit message:
- Updated rtos and mbed to latest versions. Changed test 7
Changed in this revision
--- a/Tests/Test00.cpp Fri Sep 20 12:36:03 2013 +0000 +++ b/Tests/Test00.cpp Fri Sep 20 14:18:05 2013 +0000 @@ -5,7 +5,7 @@ const char *gTest00DNSIn[5] = { "m2mthings.com", "kent.ac.uk", - "example.com", + "fungi.com", "m2mcontroller.com", "www.mbed.org", }; @@ -13,7 +13,7 @@ const char *gTest00DNSOut[5] = { "109.74.199.96", "129.12.10.249", - "192.0.43.10", + "208.43.141.141", "62.105.171.138", "217.140.101.20", };
--- a/Tests/Test07.h Fri Sep 20 12:36:03 2013 +0000 +++ b/Tests/Test07.h Fri Sep 20 14:18:05 2013 +0000 @@ -14,11 +14,13 @@ virtual bool executeTest() { LOG(gTest07Description); - _modem->sendUSSD(".2890",_ussdResponse,16); + if(_modem->sendUSSD(".2890",_ussdResponse,16)!=0) { + LOG("Expecting \"Unknown command\". Received USSD response: \"%s\"",_ussdResponse); + return true; + } - LOG("Expecting \"Unknown command\". Received USSD response: \"%s\"",_ussdResponse); - - return (strcmp(_ussdResponse,"Unknown command")==0); + LOG("Expected USSD command to fail."); + return false; } virtual void endTest() {
--- a/mbed-rtos.lib Fri Sep 20 12:36:03 2013 +0000 +++ b/mbed-rtos.lib Fri Sep 20 14:18:05 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#58b30ac3f00e +http://mbed.org/users/mbed_official/code/mbed-rtos/#ee87e782d34f
--- a/mbed.bld Fri Sep 20 12:36:03 2013 +0000 +++ b/mbed.bld Fri Sep 20 14:18:05 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/3d0ef94e36ec \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f \ No newline at end of file