Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbedConnectorInterface by
Diff: api/OptionsBuilder.h
- 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)