MBED MQTT Lighting Endpoint for NXP Ublox (Ethernet enabled)
Dependencies: C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: Definitions.h
- Revision:
- 48:d3663434128d
- Parent:
- 47:081874a5d049
- Child:
- 58:245e02d02f34
--- a/Definitions.h Sat Mar 01 17:16:17 2014 +0000 +++ b/Definitions.h Sat Mar 01 19:23:50 2014 +0000 @@ -50,7 +50,7 @@ // IOC REST Buffer Lengths #define IOC_REST_URL_LEN 128 #define IOC_RESULT_LEN 1024 -#define IOC_PAYLOAD_LEN 1024 +#define IOC_PAYLOAD_LEN 768 #define IOC_IOC_ID_LEN 16 // IOC REST URL for Load/Updates @@ -84,8 +84,8 @@ #define MQTT_ENDPOINT_IDLEN 64 // IOC MQTT Endpoint ID length (max) #define MQTT_IOC_TOPIC "ARM/sensinode/control/%s" // IOC MQTT Topic #define MQTT_IOC_ANNOUNCE_TOPIC "ARM/sensinode/control/all" // IOC MQTT Topic (since MQTT on MBED cannot seem to handle wildcards) -#define MQTT_IOC_ALL_ENDPOINT "all" // must be thes ame as the last element of MATT_IOC_ANNOUNCE_TOPIC -#define MQTT_IOC_TOPIC_LEN 42 // max length for the topic string +#define MQTT_IOC_ALL_ENDPOINT "all" // must be the same as the last element of MATT_IOC_ANNOUNCE_TOPIC +#define MQTT_IOC_TOPIC_LEN 64 // max length for the topic string #define MQTT_USERNAME "" // IOC MQTT Username #define MQTT_PASSWORD "" // IOC MQTT Password