mbed Connector Endpoint interface. This interface permits a mbed endpoint to easily setup MDS resources and emit those resources to an MDS server.

Dependents:   IoT_LED_demo ServoTest uWater_Project hackathon ... more

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);