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:
- 163:392f89530162
- Parent:
- 162:c9e9926cdc79
- Child:
- 164:f824e14df376
--- a/Definitions.h Fri Mar 21 05:44:05 2014 +0000 +++ b/Definitions.h Fri Mar 21 05:55:23 2014 +0000 @@ -112,7 +112,7 @@ // MQTT connect information #define MQTT_HOSTNAME "iocana.bcu.ac.uk" // 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_ENDPOINT_ID "mbed%d%d" // IOC MQTT Endpoint ID template #define MQTT_MAXID_VALUE 99 // IOC MQTT Endpoint ID maximum integer value #define MQTT_ENDPOINT_IDLEN 64 // IOC MQTT Endpoint ID length (max) #define MQTT_IOC_TOPIC "ARM/sensinode/control/%s" // IOC MQTT Topic