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/PassphraseAuthenticator.cpp
- Revision:
- 119:75e6991644fa
- Parent:
- 92:dffefc450d6c
--- a/source/PassphraseAuthenticator.cpp Wed May 24 16:40:49 2017 +0000 +++ b/source/PassphraseAuthenticator.cpp Wed May 24 16:43:21 2017 +0000 @@ -52,7 +52,7 @@ String object_name = param->get_argument_object_name(); // int instance_id = (int)param->get_argument_object_instance_id(); String resource_name = param->get_argument_resource_name(); - string value = this->coapDataToString(param->get_argument_value(),param->get_argument_value_length()); + string value = this->coapDataToString((uint8_t *)param->get_argument_value(),param->get_argument_value_length()); input_passphrase = (char *)value.c_str(); } #else