u-blox modem HTTP client test
Dependencies: UbloxUSBModem mbed
Diff: httptest.cpp
- Revision:
- 3:03b3ef627772
- Parent:
- 1:0112fc45285a
- Child:
- 6:d17e425e9425
diff -r 90109b8848e5 -r 03b3ef627772 httptest.cpp --- a/httptest.cpp Mon Oct 21 11:48:47 2013 +0300 +++ b/httptest.cpp Tue Oct 22 10:30:28 2013 +0100 @@ -10,6 +10,8 @@ HTTPClient http; char str[512]; + modem.power(true); + Thread::wait(1000); int ret = modem.connect(apn, username, password); if(ret) {