Describes a discovered Wi‑Fi network (scan result).
More...
#include <wifi.h>
|
char | ssid [HW_WIFI_SSID_MAX_LENGTH+1] |
| SSID (max 32 bytes) plus NULL termination.
|
|
uint8_t | bssid [6] |
| BSSID (MAC address) in network byte order.
|
|
hw_wifi_auth_t | auth |
| Authentication/cipher info (see hw_wifi_auth_t)
|
|
uint8_t | channel |
| Primary channel number.
|
|
int16_t | rssi |
| Received signal strength (dBm)
|
|
Describes a discovered Wi‑Fi network (scan result).
This is a compact, platform‑neutral representation of a single access point reported during a scan.
Notes:
- The SSID is a NULL-terminated string. The pointer value may reference a temporary buffer that is only valid for the duration of the callback; copy it if you need to retain it after the callback returns.
- RSSI is in dBm (negative values typical; higher is better).
- The auth field encodes authentication/cipher information; see hw_wifi_auth_t for details.
- Examples:
- examples/runtime/ntp/main.c, examples/runtime/wificonnect/main.c, and examples/runtime/wifiscan/main.c.
Definition at line 86 of file wifi.h.
The documentation for this struct was generated from the following file: