add wifi monitoring loop

This commit is contained in:
Brett Christensen 2024-02-02 10:27:50 +11:00
parent fa9c9125db
commit 266528587a
3 changed files with 63 additions and 25 deletions

View file

@ -71,6 +71,15 @@ void init_WiFi_AP();
*/
void init_WiFi_STA(const char* ssid, const char* password);
/**
* @brief Monitoring loop for WiFi. Will attempt to reconnect to access point if the connection goes down.
*
* @param[in] void
*
* @return void
*/
void WiFi_monitor_loop();
/**
* @brief Initialization function for ElegantOTA.
*