added WiFi reconnect check

This commit is contained in:
2022-02-16 11:30:35 +01:00
parent c8e3344b27
commit 89fa4a7efd
5 changed files with 37 additions and 5 deletions
+8
View File
@@ -51,6 +51,14 @@ class Network {
*/
static void checkMQTT();
/**
* @brief Checks if WiFi is still connected
*
* If WiFi is not connected, this function try a reconnect.
* This function should be called every mainloop.
*/
static void checkWiFi();
/**
* @brief Get the Mqtt Client object
*