|
Smart Camera ESP32
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
|
Handles asynchronous WiFi connection and automated reconnection logic. More...
#include <wifi_manager.h>
Static Public Member Functions | |
| static void | connect (const String &ssid, const String &password) |
| Initiates an asynchronous connection to a WiFi access point. | |
| static bool | is_connected () |
| Polls the WiFi hardware for current connection status. | |
| static String | get_ip () |
| Returns the local IPv4 address as a string. | |
| static void | maintain () |
| Heartbeat function. Checks if WiFi has diconnected, if so, attempts to reconnect. | |
Handles asynchronous WiFi connection and automated reconnection logic.
|
static |
Initiates an asynchronous connection to a WiFi access point.
Sets mode to WIFI_STA and disables sleep modes for better hardware stability.
| ssid | Service Set Identifier of the network. |
| password | key for the network. |
|
static |
Returns the local IPv4 address as a string.
|
static |
Polls the WiFi hardware for current connection status.
|
static |
Heartbeat function. Checks if WiFi has diconnected, if so, attempts to reconnect.
Monitors connection health. If the connection is lost, it manages throttle-controlled reconnection attempts to avoid CPU spikes.