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 17:19:22 2014 +0000
Parent:
189:12385d0065e9
Child:
191:19c3f65879c5
Commit message:
updates

Changed in this revision

Definitions.h Show annotated file Show diff for this revision Revisions of this file
endpoint_core.lib Show annotated file Show diff for this revision Revisions of this file
endpoint_mqtt.lib Show annotated file Show diff for this revision Revisions of this file
--- a/Definitions.h	Fri Mar 28 04:22:45 2014 +0000
+++ b/Definitions.h	Fri Mar 28 17:19:22 2014 +0000
@@ -27,6 +27,10 @@
 //#define   _ENDPOINT_FREESCALE_PLATFORM  true                // uncomment for the Freescale Freedom MBED platform
 //#define   _ENDPOINT_NXP_PLATFORM        true                // uncomment for the NXP MBED platform
 
+// what kind of personality we are...
+#define LIGHT_PERSONALITY               true                        // the endpoint will be a (set of) lights
+//#define COPCAR_PERSONALITY              true                        // the endpoint will emulate a cop car
+
 // include common definitions
 #include "CommonDefinitions.h"
 
@@ -48,7 +52,7 @@
 #ifdef _ENDPOINT_UBLOX_PLATFORM
     #undef LIGHT_NAME
     #undef ENDPOINT_GPS_COORDS
-    #define LIGHT_NAME              "light-mqtt-%d0"              // name of each light in this endpoint
+    #define PERSONALITY_NAME        "light-mqtt-%d0"              // name of each personality 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
--- a/endpoint_core.lib	Fri Mar 28 04:22:45 2014 +0000
+++ b/endpoint_core.lib	Fri Mar 28 17:19:22 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/endpoint_core/#667409048c68
+http://mbed.org/users/ansond/code/endpoint_core/#58e7537a8c5f
--- a/endpoint_mqtt.lib	Fri Mar 28 04:22:45 2014 +0000
+++ b/endpoint_mqtt.lib	Fri Mar 28 17:19:22 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/ansond/code/endpoint_mqtt/#380d79b22468
+http://mbed.org/users/ansond/code/endpoint_mqtt/#d96c57c19611