wifi_event.h
Overview
Related Modules:
Description:
Defines callbacks and structure of Wi-Fi events.
RegisterWifiEvent can be used to listen for Wi-Fi connection, disconnection, and scan events.
Since:
1.0
Version:
1.0
Summary
Data Structures
| Data Structure Name | Description |
|---|---|
| WifiEvent | Represents the pointer to a Wi-Fi event callback for station and hotspot connection, disconnection, or scan. |
Macros
| Macro Name and Value | Description |
|---|---|
| WIFI_STA_ACTIVE 1 | Indicates that the Wi-Fi station mode is enabled. |
| WIFI_STA_NOT_ACTIVE 0 | Indicates that the Wi-Fi station mode is disabled. |
| WIFI_HOTSPOT_ACTIVE 1 | Indicates that the Wi-Fi hotspot mode is enabled. |
| WIFI_HOTSPOT_NOT_ACTIVE 0 | Indicates that the Wi-Fi hotspot mode is disabled. |
| WIFI_MAX_EVENT_SIZE 10 | Indicates the maximum number of event listeners that can be registered using RegisterWifiEvent. |
Enumerations
| Enumeration Name | Description |
|---|---|
| WifiEventState { WIFI_STATE_NOT_AVALIABLE = 0, WIFI_STATE_AVALIABLE } | Enumerates states in Wi-Fi events. |
