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:
3:11b2f4e58378
Parent:
2:853f9ecc12df
Child:
15:8ada80242804
--- a/api/OptionsBuilder.h	Tue Jan 27 23:41:34 2015 +0000
+++ b/api/OptionsBuilder.h	Wed Jan 28 11:52:09 2015 +0000
@@ -105,7 +105,7 @@
     @param nsp_address_length input the length of the NSP IPv6 address buffer
     @return instance to ourself
     */
-    OptionsBuilder &setNSPAddress(const uint8_t *nsp_address,const int nsp_address_length);
+    OptionsBuilder &setNSPAddress(const uint8_t *nsp_address,const int nsp_address_length = NSP_IP_ADDRESS_LENGTH);
 
     /**
     Set the MAC address
@@ -113,7 +113,7 @@
     @param mac_address_length input the MAC address buffer length
     @return instance to ourself
     */
-    OptionsBuilder &setMACAddress(const uint8_t *mac_address,const int mac_address_length);
+    OptionsBuilder &setMACAddress(const uint8_t *mac_address,const int mac_address_length = NODE_MAC_ADDRESS_LENGTH);
 
     /**
     Add a NSDL endpoint resource (static)