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:
- 190:bdf70b7aa906
- Parent:
- 188:a853e563f876
- Child:
- 196:498c760e453f
--- a/Definitions.h Fri Mar 28 04:22:45 2014 +0000 +++ b/Definitions.h Fri Mar 28 17:19:22 2014 +0000 @@ -27,6 +27,10 @@ //#define _ENDPOINT_FREESCALE_PLATFORM true // uncomment for the Freescale Freedom MBED platform //#define _ENDPOINT_NXP_PLATFORM true // uncomment for the NXP MBED platform +// what kind of personality we are... +#define LIGHT_PERSONALITY true // the endpoint will be a (set of) lights +//#define COPCAR_PERSONALITY true // the endpoint will emulate a cop car + // include common definitions #include "CommonDefinitions.h" @@ -48,7 +52,7 @@ #ifdef _ENDPOINT_UBLOX_PLATFORM #undef LIGHT_NAME #undef ENDPOINT_GPS_COORDS - #define LIGHT_NAME "light-mqtt-%d0" // name of each light in this endpoint + #define PERSONALITY_NAME "light-mqtt-%d0" // name of each personality in this endpoint #define ENDPOINT_GPS_COORDS "-115.148713 36.133672" // golf course -115.143470 36.131916 #define UBLOX_USE_3G true // use 3G or ethernet #define UBLOX_MODEM UbloxUSBCDMAModem // CDMA modem