From cce7f193f62561add0f54c12f6f8f63384cfffa0 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 29 Sep 2022 08:32:08 +0200 Subject: [PATCH] changed downlink topic name --- components/webguiapp | 2 +- main/MQTTCustom.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/webguiapp b/components/webguiapp index f2b64b5..f957648 160000 --- a/components/webguiapp +++ b/components/webguiapp @@ -1 +1 @@ -Subproject commit f2b64b5c09d5bfe143367505b445bb335e2c1b34 +Subproject commit f9576486d104b0e84bedb6f0a7f7c2913548cb73 diff --git a/main/MQTTCustom.c b/main/MQTTCustom.c index 97d3627..5edda02 100644 --- a/main/MQTTCustom.c +++ b/main/MQTTCustom.c @@ -63,7 +63,7 @@ void UserMQTTEventHndlr(void *handler_args, esp_event_base_t base, int32_t event case MQTT_EVENT_CONNECTED: ComposeTopic(topic, GetSysConf()->mqttStation[ctx->mqtt_index].RootTopic, - "DOWNLINK", + "DWLINK", GetSysConf()->mqttStation[ctx->mqtt_index].ClientID, "USER"); //Subscribe to the service called "USER" @@ -74,7 +74,7 @@ void UserMQTTEventHndlr(void *handler_args, esp_event_base_t base, int32_t event case MQTT_EVENT_DATA: ComposeTopic(topic, GetSysConf()->mqttStation[ctx->mqtt_index].RootTopic, - "DOWNLINK", + "DWLINK", GetSysConf()->mqttStation[ctx->mqtt_index].ClientID, "USER"); if (!memcmp(topic, event->topic, event->topic_len))