Re: MQTT Messaging
Posted: Thu May 24, 2018 3:50 pm
I did some testing and found a few issues. IP trace showed the ESP always trying to connect to the broker even though the broker acknowledged the request. Also send / receive not working properly. So I did some poking in the source code and could fix some things. The URL of the broker is hard coded in the firmware and cant be modified. Also, each ESP should have a unique ID towards the broker, now it's always the same. So sometimes I got messages that I did not expect.
After the mods it's now working without issues, but URL and ID still hard coded so I would need to compile a new firmware every time. I'll see if I can fix that somehow.
After the mods it's now working without issues, but URL and ID still hard coded so I would need to compile a new firmware every time. I'll see if I can fix that somehow.