added max-age and content-format
Fork of mbedConnectorInterface by
Diff: mbedConnectorInterface.h
- Revision:
- 42:20c375e74e8e
- Parent:
- 39:ecd93f60bd6a
- Child:
- 46:cc6076ac5026
--- a/mbedConnectorInterface.h Sat Apr 11 18:42:51 2015 +0000 +++ b/mbedConnectorInterface.h Sat Apr 11 21:14:28 2015 +0000 @@ -29,11 +29,11 @@ /************** DEFAULT CONFIGURATION PARAMETERS ************************/ // NSP Configuration -#define NSP_LIFE_TIME_LENGTH 24 -#define NSP_LIFE_TIME "120" // seconds -#define NSP_REREGISTER_TIME 60 // 1/2 of NSP_LIFE_TIME as int in seconds... -#define NSP_COAP_UDP_PORT 5683 -#define NSP_RD_UPDATE_PERIOD 30000 // (in ms) - 30 seconds +#define NSP_COAP_UDP_PORT 5683 // Default CoAP UDP port +#define NSP_LIFE_TIME_LENGTH 24 // length of the lifetime buffer string +#define NSP_LIFE_TIME "120" // liftime buffer (representing seconds) +#define NSP_RD_UPDATE_PERIOD 60000 // (in ms) - 60 seconds (1/2 of NSP_LIFE_TIME seconds) +#define NSP_DEFAULT_OBS_PERIOD 10000 // (in ms) - 10 seconds between observations.. // 6LowPAN Configuration #define NODE_MAC_ADDRESS_LENGTH 8