MQTT, random garbage from ESP to topic.
Posted: Thu Mar 25, 2021 5:35 am
Hi,
I'm using esp8266. I'm using MQTT library and trying to post some data every 10 seconds to a topic.
I was able to connect and post data to the topic. But i get some unwanted characters(garbage) in the mqtt window.
Procedure:
I am using a serial tx from arm controller to the esp rx so when i get the data, i send it over the mqtt server from esp.
Problem:
I tried debugging the arm core, i am sending the exact data from controller via the memory window of the controller. But at the mqtt window, i'm getting some junk values.
I'm using esp8266. I'm using MQTT library and trying to post some data every 10 seconds to a topic.
I was able to connect and post data to the topic. But i get some unwanted characters(garbage) in the mqtt window.
Procedure:
I am using a serial tx from arm controller to the esp rx so when i get the data, i send it over the mqtt server from esp.
Problem:
I tried debugging the arm core, i am sending the exact data from controller via the memory window of the controller. But at the mqtt window, i'm getting some junk values.