From 04c18944e2a9cea2fe0021d990098a95cc6ca35c Mon Sep 17 00:00:00 2001 From: DanielR92 Date: Thu, 17 Nov 2022 21:20:03 +0100 Subject: [PATCH] Increase MQTT LEN of ADDR,USER,PWD,TOPIC --- src/defines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/defines.h b/src/defines.h index 36949daf..edbc4aed 100644 --- a/src/defines.h +++ b/src/defines.h @@ -85,9 +85,9 @@ union serial_u { #define DEVNAME_LEN 16 #define NTP_ADDR_LEN 32 // DNS Name -#define MQTT_ADDR_LEN 32 // DNS Name -#define MQTT_USER_LEN 16 -#define MQTT_PWD_LEN 32 +#define MQTT_ADDR_LEN 64 // DNS Name +#define MQTT_USER_LEN 64 +#define MQTT_PWD_LEN 64 #define MQTT_TOPIC_LEN 64 #define MQTT_MAX_PACKET_SIZE 384