diff --git a/Kconfig b/Kconfig index 2c3f773..fb5ecb5 100644 --- a/Kconfig +++ b/Kconfig @@ -774,7 +774,12 @@ menu "WebGUIApp" config WEBGUIAPP_MQTT_PASSWORD string "MQTT user password" - default "password" + default "password" + + config WEBGUIAPP_MQTT_DEBUG_LEVEL + int "MQTT debug log level" + range 0 5 + default 1 endif endmenu diff --git a/extlibs/libespfs b/extlibs/libespfs index 03ff681..a646e3e 160000 --- a/extlibs/libespfs +++ b/extlibs/libespfs @@ -1 +1 @@ -Subproject commit 03ff681a61cb03a43c6f008601a6e6090e9df2bd +Subproject commit a646e3ee0594ec2301e9b3fe6373ea274eb39e39 diff --git a/src/MQTT.c b/src/MQTT.c index 47a1b51..fa2d35a 100644 --- a/src/MQTT.c +++ b/src/MQTT.c @@ -25,7 +25,7 @@ #include "MQTT.h" #include "UserCallbacks.h" -#define MQTT_DEBUG_MODE 1 +#define MQTT_DEBUG_MODE CONFIG_WEBGUIAPP_MQTT_DEBUG_LEVEL #define MQTT_MESSAGE_BUFER_LENTH 5 //size of mqtt queue #define MQTT_RECONNECT_CHANGE_ADAPTER 3