Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: CommonDefinitions.h
- Revision:
- 97:d631edbc157b
- Parent:
- 93:ac4a8d3c2a4f
- Child:
- 98:3ea8058f4c54
--- a/CommonDefinitions.h Fri Mar 14 20:20:32 2014 +0000 +++ b/CommonDefinitions.h Fri Mar 14 21:25:46 2014 +0000 @@ -62,7 +62,7 @@ #define PL_PAYLOAD_BUFFER_LEN 128 #define PL_RESPONSE_BUFFER_LEN 128 #define PL_URL_TEMPLATE "http://%s/api/newdeveloper/lights/%d/state" -#define PL_ON_COMMAND_TEMPLATE "{\"on\":%s,\"sat\":211,\"bri\":%d,\"hue\":13122}" +#define PL_ON_COMMAND_TEMPLATE "{ \"on\":%s, \"sat\":211, \"bri\":%d, \"hue\":13122 } " // Error Handler - use mutexes? #define EH_USE_MUTEXES true // true - yes, false - no