added max-age and content-format

Fork of mbedConnectorInterface by Doug Anson

Revision:
39:ecd93f60bd6a
Parent:
23:caa0260acc21
Child:
42:20c375e74e8e
diff -r 96d15287b6f9 -r ecd93f60bd6a mbedConnectorInterface.h
--- a/mbedConnectorInterface.h	Sat Apr 11 17:20:56 2015 +0000
+++ b/mbedConnectorInterface.h	Sat Apr 11 18:14:36 2015 +0000
@@ -31,6 +31,7 @@
 // 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