added MQTT log level

This commit is contained in:
Bogdan Pilyugin 2023-05-27 19:54:50 +02:00
parent 2e8f9edf57
commit a39c487617
3 changed files with 8 additions and 3 deletions

View File

@ -776,6 +776,11 @@ menu "WebGUIApp"
string "MQTT user password"
default "password"
config WEBGUIAPP_MQTT_DEBUG_LEVEL
int "MQTT debug log level"
range 0 5
default 1
endif
endmenu

@ -1 +1 @@
Subproject commit 03ff681a61cb03a43c6f008601a6e6090e9df2bd
Subproject commit a646e3ee0594ec2301e9b3fe6373ea274eb39e39

View File

@ -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