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:
- 52:8abdfa69b511
- Parent:
- 50:4f04727cbf91
- Child:
- 54:dfee8691c83a
--- a/source/OptionsBuilder.cpp Fri Jun 24 03:47:10 2016 +0000 +++ b/source/OptionsBuilder.cpp Sat Jul 16 05:53:42 2016 +0000 @@ -44,6 +44,7 @@ // Constructor OptionsBuilder::OptionsBuilder() { + this->m_endpoint = NULL; this->m_domain = NSP_DOMAIN; this->m_endpoint_type = NSP_ENDPOINT_TYPE; this->m_node_name = NODE_NAME; @@ -83,6 +84,17 @@ this->m_static_resources = ob.m_static_resources; this->m_dynamic_resources = ob.m_dynamic_resources; this->m_resource_observers = ob.m_resource_observers; + this->m_wifi_ssid = ob.m_wifi_ssid; + this->m_wifi_auth_key = ob.m_wifi_auth_key; + this->m_wifi_auth_type = ob.m_wifi_auth_type; + this->m_coap_connection_type = ob.m_coap_connection_type; + this->m_ip_address_type = ob.m_ip_address_type; + for(int i=0;i<16;++i) this->m_psk[i] = ob.m_psk[i]; + for(int i=0;i<2;++i) this->m_psk_identity[i] = ob.m_psk_identity[i]; + this->m_mesh_type = ob.m_mesh_type; + this->m_enable_immediate_observation = ob.m_enable_immediate_observation; + this->m_enable_get_obs_control = ob.m_enable_get_obs_control; + this->m_endpoint = ob.m_endpoint; } // Destructor