mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
NOTE:
This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!
Diff: source/OptionsBuilder.cpp
- Revision:
- 10:3f79b5e67c22
- Parent:
- 9:faa43faea4ca
- Child:
- 17:defb680f8fce
--- a/source/OptionsBuilder.cpp Wed Feb 24 14:50:03 2016 +0000 +++ b/source/OptionsBuilder.cpp Fri Mar 04 19:16:57 2016 +0000 @@ -233,6 +233,20 @@ return *this; } +// set the CoAP Connection Type +OptionsBuilder &OptionsBuilder::setCoAPConnectionType(CoAPConnectionTypes coap_connection_type) +{ + this->m_coap_connection_type = coap_connection_type; + return *this; +} + +// set the IP Address Type +OptionsBuilder &OptionsBuilder::setIPAddressType(IPAddressTypes ip_address_type) +{ + this->m_ip_address_type = ip_address_type; + return *this; +} + // build out our immutable self Options *OptionsBuilder::build() {