MBED MQTT Lighting Endpoint for NXP Ublox (cellular enabled)

Dependencies:   C027_Support C12832 StatusReporter LM75B MQTT-ansond c027_radios endpoint_core endpoint_mqtt mbed-rtos mbed

Revision:
10:748fc7052e61
Parent:
9:ff877db53cfd
Child:
11:59ee476fda24
--- a/Definitions.h	Wed Feb 26 21:48:57 2014 +0000
+++ b/Definitions.h	Wed Feb 26 22:27:04 2014 +0000
@@ -39,6 +39,16 @@
 #define ENDPOINT_LOCATION   "Oulo Finland"                  // Where this light/endpoint lives
 #define ENDPOINT_GPS_COORDS "65.017210,25.492411"           // Where this light/endpoint lives
 
+// IOC REST URL for Load/Updates
+#define IOC_USERNAME        "anson"
+#define IOC_PASSWORD        "savetheplanet1"
+#define IOC_REST_URL_LEN    128
+#define IOC_RESULT_LEN      192
+#define IOC_PAYLOAD_LEN     192
+#define IOC_DATASOURCE_ID   "198"
+#define IOC_HOST_NAME       "iocweb.bcu.ac.uk"
+#define IOC_REST_URL        "https://%s/ibm/ioc/api/data-injection-service/datablocks/%s/dataitems%s"
+
 // Resource Configuration
 #define RESOURCE_NAME_LEN   64                              // Resource name max length
 #define RESOURCE_VALUE_LEN  64                              // Resource value max length