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
Diff: Definitions.h
- Revision:
- 188:a853e563f876
- Parent:
- 183:204070781322
- Child:
- 190:bdf70b7aa906
--- a/Definitions.h Fri Mar 28 03:32:40 2014 +0000 +++ b/Definitions.h Fri Mar 28 04:07:25 2014 +0000 @@ -50,6 +50,11 @@ #undef ENDPOINT_GPS_COORDS #define LIGHT_NAME "light-mqtt-%d0" // name of each light 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 + #define UBLOX_CDMA_DELAY_MS 1000 // connect delay in MS + #define UBLOX_GPS_FREQ 100000 // GPS freq in ns + #define UBLOX_GPS_POLL_MS 5000 // poll the GPS every 5 seconds #endif // MBED doesnt have a good notion of time - so we code it here