MBED MQTT Lighting Endpoint for NXP LPC1768+AppBoard
Dependencies: C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: Definitions.h
- 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