You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is it possible that the call for mosquitto_loop_forever(mosq, -1, 1); is missing in (void) reconnect?
If the client has a connection and you disconnect from it manually you could try to reconnect using the same client. But this wont work unless you add the call formosquitto_loop_forever(mosq, -1, 1);`.
Hey,
is it possible that the call for
mosquitto_loop_forever(mosq, -1, 1);
is missing in(void) reconnect
?If the client has a connection and you disconnect from it manually you could try to reconnect using the same client. But this won
t work unless you add the call for
mosquitto_loop_forever(mosq, -1, 1);`.Please see what I mean.
In MQTTKit.m change from:
to:
With this change the client gets messages again and everything seems to work just fine again. Or am I missing some details?
The text was updated successfully, but these errors were encountered: