added WiFi reconnect check
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user