Station role connection states.
Synopsis:
#include <wifi/wifi_service.h>
typedef enum {
WIFI_STATION_RADIO_OFF = 0
WIFI_STATION_DISCONNECTED = 1
WIFI_STATION_ASSOCIATING = 2
WIFI_STATION_AUTHENTICATING = 3
WIFI_STATION_ACQUIRING_IP = 4
WIFI_STATION_CONNECTED = 5
WIFI_STATION_DISCONNECTING = 6
} wifi_station_connection_state_t;
Data:
- WIFI_STATION_RADIO_OFF
- The Wi-Fi radio is turned off.
- WIFI_STATION_DISCONNECTED
- The Wi-Fi radio is on and station is disconnected.
- WIFI_STATION_ASSOCIATING
- The station has started association to an Access Point (AP).
- WIFI_STATION_AUTHENTICATING
- The station has started authentication to an AP.
- WIFI_STATION_ACQUIRING_IP
- The station is authenticated and is acquiring an IP address.
- WIFI_STATION_CONNECTED
- The station is connected to an AP with an IP address.
- WIFI_STATION_DISCONNECTING
- The station is disconnecting from the AP.
Library:
libwifi (For the qcc command, use the -l wifi option to link against this library)
Description:
This enum defines the Wi-Fi connection states for the station.