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:
35:30b5f17896c6
Parent:
34:e81be933358d
Child:
45:974cd0fba897
--- a/MQTTDefinitions.h	Fri Apr 11 16:26:54 2014 +0000
+++ b/MQTTDefinitions.h	Fri Apr 11 17:14:51 2014 +0000
@@ -55,6 +55,12 @@
 #define IOC_REPONSE_ID_KEY          "id"
 #define IOC_DATASOURCE_ID           "386"
 
+// remap the IOC Datasource ID if we are a copcar
+#ifdef COPCAR_PERSONALITY
+  #undef IOC_DATASOURCE_ID
+  #define IOC_DATASOURCE_ID           "388"
+#endif
+
 // IOC REST Buffer Lengths
 #define IOC_REST_URL_LEN            128
 #define IOC_RESULT_LEN              1024