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: UbloxUSBModem mbed
Fork of UbloxModemHTTPClientTest by
Revision 6:8cf840145f92, committed 2014-02-03
- 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 |
diff -r dcad6eda763e -r 8cf840145f92 main.cpp
--- 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);
