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:
- 85:9fdd9198001c
- Parent:
- 84:a50f8d0ec197
- Child:
- 86:2f9b9e0c7639
diff -r a50f8d0ec197 -r 9fdd9198001c Definitions.h --- a/Definitions.h Thu Mar 06 06:00:31 2014 +0000 +++ b/Definitions.h Thu Mar 06 17:09:38 2014 +0000 @@ -45,6 +45,11 @@ #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 +// MBED doesnt have a good notion of time - so we code it here +#define ENDPOINT_STARTTIME "\"STARTDATETIME\":\"2014-03-5T22:03:06.973Z\"," +#define ENDPOINT_STOPTIME "\"ENDDATETIME\":\"2015-02-27T03:35:55.940Z\"," +#define ENDPOINT_TIMEZONE "\"TIMEZONEOFFSET\":\"-7:00\"" + // Keyword Definitions for MQTT packets #define IOC_REQUEST_LOAD_ALL_VERB "load" #define IOC_REQUEST_UPDATE_ALL_VERB "update"