added max-age and content-format

Fork of mbedConnectorInterface by Doug Anson

Revision:
10:34078df75058
Parent:
6:516a88842a2b
Child:
16:383ad1356963
--- a/mbedConnectorInterface.h	Sun Feb 01 18:10:10 2015 +0000
+++ b/mbedConnectorInterface.h	Sun Feb 01 18:43:09 2015 +0000
@@ -23,23 +23,18 @@
 #ifndef __MBED_CONNECTOR_INTERFACE_H__
 #define __MBED_CONNECTOR_INTERFACE_H__
 
+// Include specific NSP configuration details
+#include "nsp_configuration.h"
+
 /************** DEFAULT CONFIGURATION PARAMETERS  ************************/
 
 // NSP Configuration
-#define NSP_IP_ADDRESS_LENGTH    16
-#define NSP_IP_ADDRESS           {0x20,0x02,0x0d,0xb4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26}
-#define NSP_ENDPOINT_TYPE_LENGTH 24
-#define NSP_ENDPOINT_TYPE        "mbed-device"
-#define NSP_DOMAIN_LENGTH        24
-#define NSP_DOMAIN               "domain"
 #define NSP_LIFE_TIME_LENGTH     24                     
 #define NSP_LIFE_TIME            "120"                                       // seconds
 #define NSP_COAP_UDP_PORT        5683
 #define NSP_RD_UPDATE_PERIOD     30000                                       // (in ms) - 30 seconds 
 
 // NODE Configuration
-#define NODE_NAME_LENGTH         24
-#define NODE_NAME                "mbed-endpoint"
 #define NODE_MAC_ADDRESS_LENGTH  8
 #define NODE_MAC_ADDRESS         {0x00,0x00,0x06,0x02,0x00,0x00,0x36,0x18}
 #define NODE_CHANNEL_LIST        0x07FFF800                                  // All channels