I using ESP32 Arduino project on PlatformIO to publish MQTT message 100-Bytes successfully
But whenI try to use Will message withpayload about 100 bytes it unsuccessful to publish message.
By using setWill() with example payload as below:-
It 's 100-Bytes, but unsuccessfully to publish above message.
BUT, when I reduce payload size and it can publish just 52-Bytes, and If more than that mqttClient struggle in while loop mqttClient try to connect to MQTT Broker -- as source code below.
I using ESP32 Arduino project on PlatformIO to publish MQTT message 100-Bytes successfully But whenI try to use
Will message
withpayload about 100 bytes
it unsuccessful to publish message.By using setWill() with example payload as below:-
It 's 100-Bytes, but unsuccessfully to publish above message. BUT, when I reduce payload size and it can publish just
52-Bytes
, and If more than that mqttClient struggle in while loopmqttClient
try to connect to MQTT Broker -- as source code below.How many a
Will message
can publish payload size? Does it have limit?