nsp specific components for the NSP version of the impact endpoint
Dependents: mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp
Diff: NSPDefinitions.h
- Revision:
- 10:2dfcdfd0ebd5
- Parent:
- 8:4060275b2246
- Child:
- 12:b10cd82bf206
--- a/NSPDefinitions.h Mon Mar 31 20:32:31 2014 +0000 +++ b/NSPDefinitions.h Mon Mar 31 20:48:11 2014 +0000 @@ -36,15 +36,16 @@ // Personality Name Configuration #ifdef LIGHT_PERSONALITY #define PERSONALITY_NAME "light-nsp-%d" // name of each personality (i.e. light) in this endpoint - #define PERSONALITY_TYPE "Light" // type of personality + #define NSP_NODE_TYPE LIGHT_TYPE_STRING // Node type + #define PERSONALITY_TYPE LIGHT_TYPE_STRING // type of personality #endif #ifdef COPCAR_PERSONALITY #define PERSONALITY_NAME "copcar-nsp-%d" // name of each personality (i.e. copcar) in this endpoint + #define NSP_NODE_TYPE "CopCar" // Node type #define PERSONALITY_TYPE "Cop Car" // type of personality #endif // NSP Configuration -#define NSP_NODE_TYPE LIGHT_TYPE_STRING // Node type #define NSP_NODE_LIFETIME "3600" // Node lifetime (seconds) - 1 hour #define RD_UPDATE_PERIOD 1700 // The number of seconds between NSP (re)registration messages - 28.3 minutes