mqtt specific components for the impact mbed endpoint library

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Fri Apr 11 17:14:51 2014 +0000
Parent:
34:e81be933358d
Child:
36:23a1b2dde4d9
Commit message:
update

Changed in this revision

MQTTDefinitions.h Show annotated file Show diff for this revision Revisions of this file
--- 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