peterhinch / micropython-mqtt

A 'resilient' asynchronous MQTT driver. Recovers from WiFi and broker outages.
MIT License
549 stars 116 forks source link

Update mqtt_as.py #68

Closed lunakk-PL closed 2 years ago

lunakk-PL commented 2 years ago

control of stop / start wifi_handler depending on WiFi status, without this two tasks was running concurrently

lunakk-PL commented 2 years ago

I didn't think about the distinction between application and driver, in this situation the solution you propose seems to be a good one. Have a great day and best regards