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:
- 136:ea8f3900bc13
- Parent:
- 135:662f96c35bfa
- Child:
- 137:6577dd23f6ed
--- a/Definitions.h Mon Mar 17 05:07:39 2014 +0000 +++ b/Definitions.h Mon Mar 17 17:05:49 2014 +0000 @@ -26,8 +26,8 @@ #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 "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 @@ -45,7 +45,7 @@ #define ENDPOINT_VERSION_ANNOUNCE "\r\nMBED IMPACT(MQTT) Endpoint v1.0" // our MAC address -#define MAC_ADDRESS 0x00,0x12,0xAB,0xE3,0x4F,0x56 +#define MAC_ADDRESS 0xa0,0x12,0xAB,0xE3,0x4F,0x56 // Light Configuration #define LIGHT_NAME "light-mqtt-%d" // name of each light in this endpoint