added max-age and content-format

Fork of mbedConnectorInterface by Doug Anson

Revision:
14:5cfaeee144bc
Parent:
11:c1b2b4b6c341
Child:
16:383ad1356963
diff -r b0b2f1ae4c30 -r 5cfaeee144bc api/Utils.cpp
--- a/api/Utils.cpp	Mon Feb 02 06:45:37 2015 +0000
+++ b/api/Utils.cpp	Tue Feb 03 06:51:34 2015 +0000
@@ -51,6 +51,7 @@
     config.setNSPAddress(NSP_address_bytes);
     config.setNSPPortNumber(NSP_COAP_UDP_PORT);
     config.setDomain(NSP_DOMAIN);
+    config.setEndpointNodename(NODE_NAME);
     config.setEndpointType(NSP_ENDPOINT_TYPE);
     config.setLifetime(NSP_LIFE_TIME);