MBED MQTT Lighting Endpoint for NXP Ublox (cellular enabled)

Dependencies:   C027_Support C12832 StatusReporter LM75B MQTT-ansond c027_radios endpoint_core endpoint_mqtt mbed-rtos mbed

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Fri Mar 28 04:07:25 2014 +0000
Parent:
187:5c02742b12c9
Child:
189:12385d0065e9
Commit message:
updates

Changed in this revision

Definitions.h Show annotated file Show diff for this revision Revisions of this file
c027_radios.lib Show annotated file Show diff for this revision Revisions of this file
--- a/Definitions.h	Fri Mar 28 03:32:40 2014 +0000
+++ b/Definitions.h	Fri Mar 28 04:07:25 2014 +0000
@@ -50,6 +50,11 @@
     #undef ENDPOINT_GPS_COORDS
     #define LIGHT_NAME              "light-mqtt-%d0"              // name of each light in this endpoint
     #define ENDPOINT_GPS_COORDS     "-115.148713 36.133672"       // golf course -115.143470 36.131916 
+    #define UBLOX_USE_3G            true                          // use 3G or ethernet
+    #define UBLOX_MODEM             UbloxUSBCDMAModem             // CDMA modem
+    #define UBLOX_CDMA_DELAY_MS     1000                          // connect delay in MS
+    #define UBLOX_GPS_FREQ          100000                        // GPS freq in ns
+    #define UBLOX_GPS_POLL_MS       5000                          // poll the GPS every 5 seconds
 #endif
 
 // MBED doesnt have a good notion of time - so we code it here
--- a/c027_radios.lib	Fri Mar 28 03:32:40 2014 +0000
+++ b/c027_radios.lib	Fri Mar 28 04:07:25 2014 +0000
@@ -1,1 +1,1 @@
-c027_radios#d46b1accad7d
+c027_radios#76d2da9e2b84