replace sstream

This commit is contained in:
proddy
2024-10-21 15:35:13 +02:00
parent 670a2bbb4a
commit 8f35be4edf
4 changed files with 48 additions and 37 deletions

View File

@@ -1027,6 +1027,12 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
request.url("/api");
EMSESP::webAPIService.webAPIService(&request, json);
char data7[] = "{\"device\":\"system\", \"cmd\":\"read\",\"value\":\"08 221\"}";
deserializeJson(doc, data7);
json = doc.as<JsonVariant>();
request.url("/api");
EMSESP::webAPIService.webAPIService(&request, json);
shell.invoke_command("call system read \"8 2 27 1\"");