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:
- 9:faa43faea4ca
- Parent:
- 8:f950fb1b78c0
- Child:
- 10:3f79b5e67c22
--- a/source/OptionsBuilder.cpp Wed Feb 24 05:52:00 2016 +0000 +++ b/source/OptionsBuilder.cpp Wed Feb 24 14:50:03 2016 +0000 @@ -226,6 +226,13 @@ return *this; } +// set 802.15.4 Mesh Type +OptionsBuilder &OptionsBuilder::setMeshType(MeshTypes mesh_type) +{ + this->m_mesh_type = mesh_type; + return *this; +} + // build out our immutable self Options *OptionsBuilder::build() {