|
DeterministicESPAsyncWebServer 1.2.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Layer 1 (Physical) — WiFi radio initialisation and link-state query. More...
#include <Arduino.h>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 radio initialisation and link-state query.
Wraps the Arduino WiFi library into the OSI-layered interface used by this library. On ESP32, the "physical" link is the 802.11 radio managed by the Espressif WiFi stack (not a discrete PHY chip).
Definition in file physical.h.
| 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.