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
Thanks for a great async MQTT implementation. I particularly like the decoupling from wifi/networking. I have got this working nicely on a RP Pico W connecting to Mosquitto. I had a slight issue on connecting. The on_connection_cb kept firing repeatedly in connect(). It was due to message_handler() -> check_for_messages() setting is_connected to False when res = 49 or 50. This in turn causes keep_alive_task to break out of the while loop. I simply removed:
Thanks for a great async MQTT implementation. I particularly like the decoupling from wifi/networking. I have got this working nicely on a RP Pico W connecting to Mosquitto. I had a slight issue on connecting. The on_connection_cb kept firing repeatedly in connect(). It was due to message_handler() -> check_for_messages() setting is_connected to False when res = 49 or 50. This in turn causes keep_alive_task to break out of the while loop. I simply removed:
umqtt_async/umqtt_async/umqtt_async.py
Lines 320 to 321 in 18004ae
I'm not sure what codes 49 or 50 are??
umqtt_async/umqtt_async/umqtt_async.py
Lines 229 to 230 in 18004ae
umqtt_async/umqtt_async/umqtt_async.py
Lines 329 to 335 in 18004ae
umqtt_async/umqtt_async/umqtt_async.py
Lines 240 to 244 in 18004ae
# res = 49 or 50
->
umqtt_async/umqtt_async/umqtt_async.py
Lines 320 to 321 in 18004ae
umqtt_async/umqtt_async/umqtt_async.py
Lines 338 to 346 in 18004ae
The text was updated successfully, but these errors were encountered: