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

Revision:
182:4a1feb2191cb
Parent:
181:ea44551c4a43
Child:
183:204070781322
--- a/Definitions.h	Thu Mar 27 01:06:15 2014 +0000
+++ b/Definitions.h	Thu Mar 27 01:09:37 2014 +0000
@@ -46,8 +46,10 @@
 
 // Reset our config values if needed
 #ifdef _ENDPOINT_UBLOX_PLATFORM
-    #define LIGHT_NAME              "light-mqtt-10"                  // name of each light in this endpoint
-    #define ENDPOINT_GPS_COORDS     "-115.143470 36.131916"          // golf course -115.143470 36.131916 
+    #undef LIGHT_NAME
+    #undef ENDPOINT_GPS_COORDS
+    #define LIGHT_NAME              "light-mqtt-%d0"              // name of each light in this endpoint
+    #define ENDPOINT_GPS_COORDS     "-115.143470 36.131916"     // golf course -115.143470 36.131916 
 #endif
 
 // MBED doesnt have a good notion of time - so we code it here