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:
- 107:997c932c5cd4
- Parent:
- 105:aeaaee8fbb1d
- Child:
- 108:df7102357164
--- a/source/OptionsBuilder.cpp Tue Apr 25 21:04:53 2017 +0000 +++ b/source/OptionsBuilder.cpp Tue Apr 25 21:28:41 2017 +0000 @@ -56,9 +56,9 @@ #endif this->m_lifetime = REG_LIFETIME_SEC; #ifdef ENABLE_MBED_CLOUD_SUPPORT - this->m_connector_url = string((char *)MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI); + this->m_connector_url = (char *)MBED_CLOUD_DEV_BOOTSTRAP_SERVER_URI; #else - this->m_connector_url = string(CONNECTOR_URL); + this->m_connector_url = CONNECTOR_URL; #endif this->m_server_cert = NULL; this->m_server_cert_length = 0;