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:
17:36a4ab911aaa
Parent:
8:17c29d3b967b
Child:
20:ee03f10c074e
--- a/MQTTDefinitions.h	Mon Mar 31 18:57:58 2014 +0000
+++ b/MQTTDefinitions.h	Mon Mar 31 21:03:09 2014 +0000
@@ -34,7 +34,12 @@
 
 // Personality Name Configuration
 #ifdef LIGHT_PERSONALITY
-    #define PERSONALITY_NAME        "light-mqtt-%d"                 // name of each personality (i.e. light) in this endpoint
+    #define PERSONALITY_NAME        "light-mqtt-%d"      // name of each personality (i.e. light) in this endpoint
+    #define PERSONALITY_TYPE        LIGHT_TYPE_STRING   // type of personality
+#endif
+#ifdef COPCAR_PERSONALITY
+    #define PERSONALITY_NAME        "copcar-mqtt-%d"     // name of each personality (i.e. copcar) in this endpoint
+    #define PERSONALITY_TYPE        "Cop Car"           // type of personality
 #endif
 
 // Keyword Definitions for MQTT packets