4 years, 9 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.

Be the first to answer this question.