MBED NanoService Lighting Endpoint for NXP Ublox (cellular enabled)
Dependencies: C027_Support C12832 StatusReporter LM75B c027_radios endpoint_core endpoint_nsp nsp_resources mbed mbed-rtos
Diff: Definitions.h
- Revision:
- 174:378cbc9cb6a7
- Parent:
- 172:524fffee93e6
- Child:
- 191:e43990cd14e9
--- a/Definitions.h Mon Mar 31 20:04:24 2014 +0000 +++ b/Definitions.h Mon Mar 31 20:26:11 2014 +0000 @@ -24,14 +24,14 @@ // Platform Switch #define _ENDPOINT_UBLOX_PLATFORM true // uncomment for the U-Blox MBED platform -//#define _ENDPOINT_FREESCALE_PLATFORM true // uncomment for the Freescale Freedom MBED platform -//#define _ENDPOINT_NXP_PLATFORM true // uncomment for the NXP MBED platform +//#define _ENDPOINT_FREESCALE_PLATFORM true // uncomment for the Freescale Freedom MBED platform +//#define _ENDPOINT_NXP_PLATFORM true // uncomment for the NXP MBED platform // Network Usage (default is Ethernet) -#define CELLULAR_NETWORK true // true - use cellular network, false - use ethernet (cannot co-exist together) +#define CELLULAR_NETWORK true // true - use cellular network, false - use ethernet (cannot co-exist together) // what kind of personality we are... -//#define LIGHT_PERSONALITY true // the endpoint will be a (set of) lights +//#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 @@ -48,16 +48,11 @@ #define EXT_LED_ENABLE true // true - enable external LED endpoint light, false - disable // Endpoint GPS Coordinates -#define ENDPOINT_LOCATION "Las Vegas Country Club" // Where this light/endpoint lives -#define ENDPOINT_GPS_COORDS "36.131258,-115.144414" // golf course 36.131258,-115.144414 +#define ENDPOINT_LOCATION "Las Vegas Police Dept" // Where this light/endpoint lives +#define ENDPOINT_GPS_COORDS "36.131735,-115.147683" // Joe Brown Drive // Reset our config values if needed #ifdef _ENDPOINT_UBLOX_PLATFORM - #undef LIGHT_NAME - #undef ENDPOINT_GPS_COORDS - #undef PERSONALITY_NAME - #define PERSONALITY_NAME "light-nsp-%d0" // name of each personality in this endpoint - #define ENDPOINT_GPS_COORDS "36.133516,-115.148721" // 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