HTTPClient test for IoT Workshop

Dependencies:   UbloxUSBModem mbed

Fork of UbloxModemHTTPClientTest by mbed official

Files at this revision

API Documentation at this revision

Comitter:
sam_grove
Date:
Mon Feb 03 14:35:03 2014 +0000
Parent:
5:dcad6eda763e
Commit message:
update to make CDMA default

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Nov 04 09:00:29 2013 +0000
+++ b/main.cpp	Mon Feb 03 14:35:03 2014 +0000
@@ -2,6 +2,8 @@
 #include "UbloxUSBCDMAModem.h"
 #include "httptest.h"
 
+#define MODEM_UBLOX_CDMA
+
 #if !defined(MODEM_UBLOX_GSM) && !defined(MODEM_UBLOX_CDMA)
 #warning No modem defined, using GSM by default
 #define MODEM_UBLOX_GSM
@@ -28,6 +30,7 @@
     UbloxUSBGSMModem modem;
 #else
     UbloxUSBCDMAModem modem(p18, true, 1);
+    printf("CDMA MODEM\n");
 #endif
     httptest(modem, MODEM_APN, MODEM_USERNAME, MODEM_PASSWORD);
     while (true);