MBED MQTT Lighting Endpoint for NXP LPC1768+AppBoard

Dependencies:   C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed

Revision:
101:eb5b14440b3d
Parent:
99:0732a0cdbf6e
Child:
102:36b8e2f5f416
--- a/Definitions.h	Wed Mar 12 06:03:10 2014 +0000
+++ b/Definitions.h	Wed Mar 12 16:29:54 2014 +0000
@@ -25,6 +25,13 @@
 // include common definitions
 #include "CommonDefinitions.h"
 
+// Until we get HTTPS with BasicAuth working in MBED...
+#define GW_IPADDRESS                "192.168.1.191"     // work
+//#define GW_IPADDRESS                "192.168.1.220"     // home - vm
+//#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
+
 // Memory Debug Enable/Disable
 // #define ENABLE_MEMORY_DEBUG         true                            // false - disable, true - enable
 
@@ -82,13 +89,6 @@
 #define IOC_RESPONSE_OK             "OK"
 #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                "192.168.1.220"     // home - vm
-//#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
-
 // Transport Configuration
 #define NUM_TRANSPORTS              2                               // MQTT, HTTP
 #define MQTT_TRANSPORT              0                               // MQTT Transport index