Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 7 months ago.
Why does the subscriber work fine when using the Hive broker but not with the local Mosquito broker?
Hello, I am using the DISCO_L475VG_IOT01A with Mbed MQTT library. The subscriber worked fine when I was using the Hive MQTT community broker hosted on cloud. Now when I have hosted a local Mosquitto broker on the private LAN my callback function is not getting invoked. I can publish data to it and even subscribe to a topic. I can see that the mosquitto broker is sending a packet to the ip address of my hardware but nothing happens. What can be the cause for this problem ? Thank you.