Hi,
I am doing MQTT-TCP communication on ESP32-WROOM based Devkit board. On that I flashed the default mqtt tcp example which works all fine with data for the topic getting continuously displayed but as I tried replacing default data it just stops after a few iterations.
The broker URL I used is mosquitto test broker.
Please let me know the right way to do do.
All kind help is appreciated.
Many thanks,
Sameer
ESP MQTT data transmission over TCP
-
- Posts: 7
- Joined: Mon Apr 24, 2023 4:36 pm
ESP MQTT data transmission over TCP
- Attachments
-
- default_data_output
- default op.png (125.56 KiB) Viewed 659 times
-
- sample_custom_data_output
- custom_data_output.png (124.96 KiB) Viewed 659 times
Re: ESP MQTT data transmission over TCP
Be cautious about the length of the data you are sending. If the new data is significantly longer than the default data, it might exceed the buffer size or cause memory issues, leading to unexpected behavior.
Who is online
Users browsing this forum: No registered users and 73 guests