Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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");

