diff --git a/test_agent/cpp/conanfile.txt b/test_agent/cpp/conanfile.txt index 168b7879..6bd5da76 100644 --- a/test_agent/cpp/conanfile.txt +++ b/test_agent/cpp/conanfile.txt @@ -1,8 +1,8 @@ [requires] protobuf/[>=3.21.12] up-core-api/1.6.0 -up-cpp/[~1.0] -up_client_socket/1.0.0-tmp +up-cpp/1.0.1-rc1 +up_client_socket/1.0.0 rapidjson/cci.20230929 spdlog/[>=1.13.0] fmt/10.2.1 diff --git a/test_agent/cpp/src/APIWrapper.cpp b/test_agent/cpp/src/APIWrapper.cpp index c164f75c..ceea8796 100644 --- a/test_agent/cpp/src/APIWrapper.cpp +++ b/test_agent/cpp/src/APIWrapper.cpp @@ -151,8 +151,6 @@ UStatus APIWrapper::handleRegisterListenerCommand(Document& jsonData) { // Register the lambda function as a listener for messages on the specified // URI. auto result = transportPtr_->registerListener( - // sink_uri = - uri, // callback = [this](const UMessage& transportUMessage) { spdlog::info("APIWrapper::onReceive(), received."); @@ -162,7 +160,9 @@ UStatus APIWrapper::handleRegisterListenerCommand(Document& jsonData) { // Send the message to the Test Manager with a predefined response. sendToTestManager(transportUMessage, Constants::RESPONSE_ON_RECEIVE); - }); + }, + // src_uri = + uri); return result.has_value() ? addHandleToUriCallbackMap(std::move(result).value(), uri)