MBED MQTT Lighting Endpoint for NXP LPC1768+AppBoard

Dependencies:   C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed

Revision:
145:0a54b3df7a5b
Parent:
144:c7913812742a
Child:
146:41c900c6edad
--- a/Definitions.h	Wed Mar 19 15:26:10 2014 +0000
+++ b/Definitions.h	Wed Mar 19 15:29:18 2014 +0000
@@ -53,6 +53,7 @@
 // Light Configuration
 #define LIGHT_NAME                  "light-mqtt-%d"                 // name of each light in this endpoint
 #define LIGHT_BLINK_WAIT_MS         1000                            // time between blinks (ms)
+#define LIGHT_NAME_INDEX            1                               // start index for the ID of the light name
 
 // Philips Light Config
 #define PL_ENABLE                   false                           // true - enable for endpoint light, false - disable