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:
- 155:6b538b9e3550
- Parent:
- 152:e031802d24ad
- Child:
- 157:356254104380
diff -r bae16d6519dd -r 6b538b9e3550 Definitions.h --- a/Definitions.h Thu Mar 20 16:18:42 2014 +0000 +++ b/Definitions.h Thu Mar 20 16:25:13 2014 +0000 @@ -92,7 +92,7 @@ // IOC REST URL for Load/Updates #define IOC_USERNAME "anson" #define IOC_PASSWORD "savetheplanet1" -#define IOC_HOST_NAME "iocweb.bcu.ac.uk" +#define IOC_HOST_NAME "193.60.130.112" // IOC Web - iocweb.bcu.ac.uk #define IOC_REST_URL "https://%s/ibm/ioc/api/data-injection-service/datablocks/%s/dataitems%s" #define IOC_RESPONSE_TEMPLATE "%s:{ENDPOINT=%s RESOURCE=%s VALUE=%s}:%s" #define IOC_RESPONSE_OK "OK" @@ -110,7 +110,7 @@ #define MAX_MQTT_MESSAGE_LENGTH 128 // MQTT connect information -#define MQTT_HOSTNAME "iocana.bcu.ac.uk" // IOC MQTT Broker Host - iocana.bcu.ac.uk +#define MQTT_HOSTNAME "193.60.130.110" // IOC MQTT Broker Host - iocana.bcu.ac.uk #define MQTT_HOSTPORT 1883 // IOC MQTT Broker Port #define MQTT_ENDPOINT_ID "mbed%d" // IOC MQTT Endpoint ID template #define MQTT_MAXID_VALUE 99 // IOC MQTT Endpoint ID maximum integer value