MBED MQTT Lighting Endpoint for NXP LPC1768+AppBoard
Dependencies: C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: Definitions.h
- Revision:
- 86:2f9b9e0c7639
- Parent:
- 85:9fdd9198001c
- Child:
- 89:6e7dd4cba216
--- a/Definitions.h Thu Mar 06 17:09:38 2014 +0000 +++ b/Definitions.h Sun Mar 09 16:35:27 2014 +0000 @@ -46,8 +46,8 @@ #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_STARTTIME "\"STARTDATETIME\":\"2014-03-9T22:03:06.973Z\"," +#define ENDPOINT_STOPTIME "\"ENDDATETIME\":\"2014-03-10T03:35:55.940Z\"," #define ENDPOINT_TIMEZONE "\"TIMEZONEOFFSET\":\"-7:00\"" // Keyword Definitions for MQTT packets @@ -77,8 +77,8 @@ #define IOC_RESPONSE_FAILED "FAILED" // TEMP - until we get HTTPS with BasicAuth working in MBED... -#define GW_IPADDRESS "192.168.1.191" // work -//#define GW_IPADDRESS "10.1.0.27" // home +//#define GW_IPADDRESS "192.168.1.191" // work +#define GW_IPADDRESS "10.1.0.27" // home #define GW_REDIRECT_URL "http://%s:8888/NSP-IOC-Gateway/IOCRestAPI" #define USE_GW_HTTP_REDIRECTOR true // true - make http calls to IOC via GW, false - make http calls directly to IOC