Open Bick95 opened 3 years ago
By the way, in case that this is relevant, I am using the following settings:
Board: Generic ESP8266 Module lwIP variant: v1.4 Higher Bandwidth
If you would like to know more, please let me know!
hello, did you solve this problem ? I have this problem too Thank you
No, unfortunately not @nguyentiendathus. But admittedly I got pulled away from that problem at some point, so that I didn't look into it too much anymore.
Hello,
I took pretty much this example code to set up a MQTT broker on an ESP8266-01S.
To set up a client, I used pretty much this example code.
When I run the broker, it works in that it receives the messages it broadcasts/publishes itself. Thus, it receives the counter information published on topic
/broker/counter
.Also, as far as I can tell from reading the messages printed to the Serial monitor, the broker recognizes that the client tries to connect to it when I start the client. However, when I print the clients being connected to the broker, the client that just tried to connect does not show up.
On the client side, the print statements shown in the Serial monitor don't look suspicious at all. However, no published information seems to arrive at the client side.
To demonstrate this, please find the Serial monitor output below:
Serial output for the broker:
Serial output of the client:
While the print statements would continue for the broker, no new output gets generated for the client after that shown above.
The concrete code I am using is the following:
Code for the broker:
Code for the client:
Do you have any idea on whether I am doing something wrong or what is causing the error I am experiencing?
Thank you very much in advance!