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:
- 182:4a1feb2191cb
- Parent:
- 181:ea44551c4a43
- Child:
- 183:204070781322
--- a/Definitions.h Thu Mar 27 01:06:15 2014 +0000 +++ b/Definitions.h Thu Mar 27 01:09:37 2014 +0000 @@ -46,8 +46,10 @@ // Reset our config values if needed #ifdef _ENDPOINT_UBLOX_PLATFORM - #define LIGHT_NAME "light-mqtt-10" // name of each light in this endpoint - #define ENDPOINT_GPS_COORDS "-115.143470 36.131916" // golf course -115.143470 36.131916 + #undef LIGHT_NAME + #undef ENDPOINT_GPS_COORDS + #define LIGHT_NAME "light-mqtt-%d0" // name of each light in this endpoint + #define ENDPOINT_GPS_COORDS "-115.143470 36.131916" // golf course -115.143470 36.131916 #endif // MBED doesnt have a good notion of time - so we code it here