Example which shows HTTP client use with the USB modem.
Dependencies: HTTPClient VodafoneUSBModem mbed-rtos mbed
Fork of VodafoneUSBModemHTTPClientTest by
Revision 4:47a1a2527e25, committed 2012-08-29
- Comitter:
- donatien
- Date:
- Wed Aug 29 12:05:04 2012 +0000
- Parent:
- 3:d104a904eeed
- Child:
- 5:13f0fa1662ab
- Commit message:
- Corrected APN
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Aug 29 11:50:50 2012 +0000 +++ b/main.cpp Wed Aug 29 12:05:04 2012 +0000 @@ -8,8 +8,7 @@ HTTPClient http; char str[512]; - //int ret = modem.connect("pp.vodafone.co.uk"); - int ret = modem.connect("SMART"); + int ret = modem.connect("pp.vodafone.co.uk"); if(ret) { printf("Could not connect\n");