Question on MQTT
Posted: Tue Oct 19, 2021 2:15 pm
Hi,
I subscribe to a less than 10 digit text to control relays. I noticed that if the incoming message contains a large string, > 50 characters, the code crashes. This doesn't happen using the same code on a Linux box. A work around is to limit the incoming string.
The library used is upmqttsimple on a ESP32.
Could this be a memory-run-out case?
TIA
I subscribe to a less than 10 digit text to control relays. I noticed that if the incoming message contains a large string, > 50 characters, the code crashes. This doesn't happen using the same code on a Linux box. A work around is to limit the incoming string.
The library used is upmqttsimple on a ESP32.
Could this be a memory-run-out case?
TIA