added max-age and content-format
Fork of mbedConnectorInterface by
Diff: api/Utils.cpp
- Revision:
- 14:5cfaeee144bc
- Parent:
- 11:c1b2b4b6c341
- Child:
- 16:383ad1356963
--- 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);