From 03c365124be4c29bbc5134f76894120082a28c9c Mon Sep 17 00:00:00 2001 From: "Valentin V. Bartenev" Date: Tue, 28 Apr 2026 02:11:59 +0300 Subject: [PATCH] Fix truncation of LWT message. It's just too small to fit the whole JSON that is put there in refreshBrokerState(). --- src/helpers/mqtt/MQTTUplink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/mqtt/MQTTUplink.h b/src/helpers/mqtt/MQTTUplink.h index ccb23f5e..a0f41d2b 100644 --- a/src/helpers/mqtt/MQTTUplink.h +++ b/src/helpers/mqtt/MQTTUplink.h @@ -94,7 +94,7 @@ private: char* token; char client_id[48]; char status_topic[128]; - char offline_payload[256]; + char offline_payload[512]; }; #endif