mqtt specific components for the impact mbed endpoint library

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp

Revision:
29:ac6390032cec
Parent:
22:afb208d1d79e
Child:
34:e81be933358d
diff -r 6cdbaf2aa697 -r ac6390032cec MQTTDefinitions.h
--- a/MQTTDefinitions.h	Thu Apr 03 01:55:19 2014 +0000
+++ b/MQTTDefinitions.h	Mon Apr 07 03:15:02 2014 +0000
@@ -86,7 +86,7 @@
 #define MQTT_HOSTPORT               1883                            // IOC MQTT Broker Port
 #define MQTT_ENDPOINT_ID            "mbed%d%d"                      // IOC MQTT Endpoint ID template
 #define MQTT_MAXID_VALUE            99                              // IOC MQTT Endpoint ID maximum integer value
-#define MQTT_ENDPOINT_IDLEN         64                              // IOC MQTT Endpoint ID length (max)
+#define MQTT_ENDPOINT_IDLEN         20                              // IOC MQTT Endpoint ID length (max)
 #define MQTT_IOC_TOPIC              "ARM/sensinode/control/%s"      // IOC MQTT Topic 
 #define MQTT_IOC_ALL_TOPIC          "ARM/sensinode/control/all"     // IOC MQTT Topic (broadcast)
 #define MQTT_PING_SEND_TOPIC        "ARM/sensinode/ping"            // IOC MQTT Ping Send Topic