Error on sending MQTT #183
-
Hi All, I recently changed the library files to the latest, and now I'm receiving "Error on sending MQTT" after one/two messages have been sent to my MQTT broker located on a Raspberry Pi. I'm testing out, a Lilygo LoRa ESP32 OLED sending sensor packets to another LoRa ESP32 OLED connected through serial to an ESP32-WROOM module which is connected to the MQTT broker. Not sure how to troubleshoot this as I'm seeing data getting to the MQTT broker, however only once. Any suggestions are highly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I'm away from my computer and workshop for a few more days, but I'll investigate when I'm home. My first order of business will be to fix and re-do some of the MQTT functionality. |
Beta Was this translation helpful? Give feedback.
-
The issue is based on the default MQTT buffer size of 256 bytes. The default needs to be adjusted upwards to accommodate larger amounts of data. I'll look up and link to a previous comment on the same in a bit. Should probably submit a PR just to increase the MQTT buffer size. |
Beta Was this translation helpful? Give feedback.
The issue is based on the default MQTT buffer size of 256 bytes. The default needs to be adjusted upwards to accommodate larger amounts of data. I'll look up and link to a previous comment on the same in a bit. Should probably submit a PR just to increase the MQTT buffer size.