|
DeterministicESPAsyncWebServer 1.2.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Layer 1 (Physical) — WiFi hardware initialisation implementation. More...
Go to the source code of this file.
Functions | |
| bool | init_wifi_physical (const char *ssid, const char *password) |
| Connect to a WiFi access point. | |
| bool | wifi_ready () |
| Query whether the WiFi link is up. | |
Layer 1 (Physical) — WiFi hardware initialisation implementation.
init_wifi_physical() kicks off the association process; it returns immediately because the Arduino WiFi driver handles association asynchronously. Poll wifi_ready() in your setup() loop until it returns true before calling DetWebServer::begin().
Definition in file physical.cpp.
| bool init_wifi_physical | ( | const char * | ssid, |
| const char * | password | ||
| ) |
Connect to a WiFi access point.
Calls WiFi.begin() and returns immediately; it does not block waiting for the association to complete. Poll wifi_ready() to check link status.
| ssid | Network SSID (null-terminated). |
| password | WPA2 passphrase (null-terminated). |
true (WiFi.begin() is fire-and-forget). Definition at line 17 of file physical.cpp.
| bool wifi_ready | ( | ) |
Query whether the WiFi link is up.
true if associated with an AP and an IP address is assigned. Definition at line 23 of file physical.cpp.