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

Revision:
23:793b2898522e
Parent:
22:f1002e5993c5
Child:
26:25945de9e652
--- a/Definitions.h	Thu Feb 27 23:33:24 2014 +0000
+++ b/Definitions.h	Fri Feb 28 02:52:04 2014 +0000
@@ -37,7 +37,8 @@
 
 // Endpoint GPS Coordinates
 #define ENDPOINT_LOCATION           "Oulo Finland"                  // Where this light/endpoint lives
-#define ENDPOINT_GPS_COORDS         "65.017210,25.492411"           // Where this light/endpoint lives
+//#define ENDPOINT_GPS_COORDS         "25.492411 65.017210"           // work
+#define ENDPOINT_GPS_COORDS         "25.467880 65.020071"           // home
 
 // Keyword Definitions for MQTT packets
 #define IOC_REQUEST_LOAD_ALL_VERB   "load"
@@ -66,7 +67,8 @@
 #define IOC_RESPONSE_FAILED         "FAILED"
 
 // TEMP - until we get HTTPS with BasicAuth working in MBED...
-#define GW_IPADDRESS                "192.168.1.191"
+//#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