MBED MQTT Lighting Endpoint for NXP Ublox (cellular enabled)
Dependencies: C027_Support C12832 StatusReporter LM75B MQTT-ansond c027_radios endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: Definitions.h
- Revision:
- 180:a50a4e8c9345
- Parent:
- 178:603a0b6b5a74
- Child:
- 181:ea44551c4a43
--- a/Definitions.h Thu Mar 27 00:59:06 2014 +0000 +++ b/Definitions.h Thu Mar 27 01:03:52 2014 +0000 @@ -44,6 +44,12 @@ #define ENDPOINT_LOCATION "Las Vegas Country Club" // Where this light/endpoint lives #define ENDPOINT_GPS_COORDS "-115.143470 36.131916" // golf course -115.143470 36.131916 +// 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 +#endif + // MBED doesnt have a good notion of time - so we code it here #define ENDPOINT_STARTTIME "\"STARTDATETIME\":\"2014-03-09T22:03:06-07:00\"," #define ENDPOINT_STOPTIME "\"ENDDATETIME\":\"2015-03-10T03:35:55-07:00\","