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
The loop() method seems to cause a lot of confusion regarding its purpose, invocation, and operation. I was discussing with @dhalbert how to improve this and have some ideas...
This issue proposes:
We create a new method (network_loop(). This method handles:
WiFi network connectivity (are we connected prior to polling? What do we do if the WiFi is disconnected during the while True)
MQTT broker connectivity (are we still connected to the broker, prior to calling loop()
MQTT network loop() polling
Handling failures within a MQTT loop() call
The text was updated successfully, but these errors were encountered:
The
loop()
method seems to cause a lot of confusion regarding its purpose, invocation, and operation. I was discussing with @dhalbert how to improve this and have some ideas...This issue proposes:
network_loop()
. This method handles:while True
)loop()
loop()
pollingloop()
callThe text was updated successfully, but these errors were encountered: