Example which shows HTTP client use with the USB modem.
Dependencies: HTTPClient VodafoneUSBModem mbed-rtos mbed
Fork of VodafoneUSBModemHTTPClientTest by
Revision 2:d1a092234f72, committed 2012-08-17
- Comitter:
- donatien
- Date:
- Fri Aug 17 15:56:22 2012 +0000
- Parent:
- 1:6ea9ac27702c
- Child:
- 3:d104a904eeed
- Commit message:
- Switched APN
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Aug 17 15:53:46 2012 +0000 +++ b/main.cpp Fri Aug 17 15:56:22 2012 +0000 @@ -8,9 +8,7 @@ HTTPClient http; char str[512]; - //int ret = modem.connect("pp.vodafone.co.uk"); - //int ret = modem.connect("SMART"); - int ret = modem.connect("websfr"); + int ret = modem.connect("pp.vodafone.co.uk"); if(ret) { printf("Could not connect\n");