Daniel kalu
DIIDevHeads IoT Integration Server
•Created by Daniel kalu on 9/11/2024 in #edge-networking
ESP32-Pico Failing to Publish MQTT Messages Due to Payload Size Exceeding Broker's Limit
Hey guys while sending sensor data from an ESP32-Pico to an MQTT broker,And combining multiple sensor readings into a single MQTT message, the payload size exceeds the broker's limit. As a result, the publish operation fails, and the transmission is interrupted, causing data loss.
Error Message: E (48532)
MQTT_CLIENT: Payload size exceeds the maximum limit
The error occurred during testing when adding additional sensor data to the MQTT message, leading to transmission failures shown on the serial monitor.
Any idea why the ESP32-Pico fails to publish MQTT messages when the payload size exceeds a certain threshold, leading to transmission interruptions?
3 replies