custom for >5 resources
Fork of mbedConnectorInterface by
Diff: api/OptionsBuilder.h
- Revision:
- 3:11b2f4e58378
- Parent:
- 2:853f9ecc12df
- Child:
- 15:8ada80242804
diff -r 853f9ecc12df -r 11b2f4e58378 api/OptionsBuilder.h --- 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)