![](/media/cache/profiles/dfdfab9941ac833a0c364aa2e608185e.50x50_q85.jpg)
Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: Tests/Test01.cpp
- Revision:
- 69:4fc3b0ad12c7
- Parent:
- 66:6b00a764e549
--- a/Tests/Test01.cpp Tue Dec 18 13:57:14 2012 +0000 +++ b/Tests/Test01.cpp Tue Mar 05 14:59:24 2013 +0000 @@ -1,4 +1,5 @@ #include "Test01.h" +#include "TestHelper.h" class HTTPFileValidator : public IHTTPDataIn { public: @@ -62,7 +63,7 @@ bool outcome = true; LOG("Description: %s",gTest01Description); LOG("Connecting to internet"); - if(_modem->connect("internet","web","web")==0) { + if(_modem->connect(APN,APN_USERNAME,APN_PASSWORD)==0) { LOG("Connected to internet"); } else { LOG("Failed to connect to internet");