temp
This commit is contained in:
parent
6524456184
commit
f7343bd23e
@ -54,7 +54,7 @@ static void on_mqtt_message_received(const std::string &topic, const std::string
|
|||||||
if (topic == g_app_config.mqtt.topics.video_down && j["type"] == "request")
|
if (topic == g_app_config.mqtt.topics.video_down && j["type"] == "request")
|
||||||
{
|
{
|
||||||
LOG_INFO("[MQTT] Received message on topic [" + topic + "], len = " + std::to_string(message.size()));
|
LOG_INFO("[MQTT] Received message on topic [" + topic + "], len = " + std::to_string(message.size()));
|
||||||
LOG_INFO("[MQTT] Message content: " + j.dump(0));
|
LOG_INFO("[MQTT] Message content: " + j.dump(-1));
|
||||||
|
|
||||||
std::string seqNo = j.value("seqNo", "");
|
std::string seqNo = j.value("seqNo", "");
|
||||||
auto data = j["data"];
|
auto data = j["data"];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user