mbedConnectorInterface back port from mbedOS v3 using mbed-client C++ call interface
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() {