MBED MQTT Lighting Endpoint for NXP LPC1768+AppBoard

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

Revision:
69:090e16acccb7
Parent:
63:d89fb4ded2d6
Child:
72:ffd155ec8b93
--- a/Definitions.h	Tue Mar 04 04:34:40 2014 +0000
+++ b/Definitions.h	Tue Mar 04 04:48:04 2014 +0000
@@ -26,7 +26,7 @@
 #include "CommonDefinitions.h"
 
 // Memory Debug Enable/Disable
-#define ENABLE_MEMORY_DEBUG         true                            // false - disable, true - enable
+//#define ENABLE_MEMORY_DEBUG         true                            // false - disable, true - enable
 
 // Our Endpoint Version Annoucement
 #define ENDPOINT_VERSION_ANNOUNCE "\r\nMBED IMPACT(MQTT) Endpoint v1.0"
@@ -93,6 +93,7 @@
 #define MQTT_IOC_ANNOUNCE_TOPIC     "ARM/sensinode/control/all"     // IOC MQTT Topic (since MQTT on MBED cannot seem to handle wildcards)
 #define MQTT_IOC_ALL_ENDPOINT       "all"                           // must be the same as the last element of MATT_IOC_ANNOUNCE_TOPIC
 #define MQTT_IOC_TOPIC_LEN          64                              // max length for the topic string
+#define MQTT_PAYLOAD_SEGMENT_LEN    64                              // max length for a segment of the payload
 #define MQTT_USERNAME               ""                              // IOC MQTT Username
 #define MQTT_PASSWORD               ""                              // IOC MQTT Password