You can chat about native SDK questions and issues here.

User avatar
By maverickchongo
#82902 Hi,

When the client loses connectivity to the broker I never get the call to the callback function configured on MQTT_OnDisconnected. I have noticed that if I stop publishing then I get it sometimes, but as long as it is publishing periodically, seems that the mqtt client never goes to the "disconnect" state?

Has anybody expericenced this?

The strange thing is that it was working before, but sudenly stopped working, I haven't made any changes to the mqtt code at all.

Only thing I added was some mdns code, not sure whether that could have caused any issues...