qwf_wifi_StationModeStatusData_t

Updated: May 06, 2022

Wi-Fi status data for Station Mode

Synopsis:

#include <qwf/qwf_wifi.h>
typedef struct qwf_wifi_StationModeStatusData_s {
    qwf_wifi_WifiRole_e role;
    qwf_wifi_InterfaceSetting_e wlanSetting;
    bool connected;
    uint16_t connectedSavedNetworkId;
    qwf_wifi_Ssid_t connectedSsid;
    uint16_t profileCount;
    char lastEvent[QWF_WIFI_MAX_WPA_SUPL_EVENT_LEN+1];
} qwf_wifi_StationModeStatusData_t;

Data:

qwf_wifi_WifiRole_e role

Current Wi-Fi Manager role (Station or Access Point)

qwf_wifi_InterfaceSetting_e wlanSetting

WLAN interface mode (Up or Down)

bool connected

Whether the Wi-Fi Manager is connected to an Access Point

uint16_t connectedSavedNetworkId

Network ID of the currently connected Saved Network. This is valid when connected is true.

qwf_wifi_Ssid_t connectedSsid

SSID of the currently connected Access Point. This is valid when connected is true.

uint16_t profileCount

Number of Saved Network profiles

char lastEvent[QWF_WIFI_MAX_WPA_SUPL_EVENT_LEN+1]

Last event generated by the Wi-Fi supplicant; this applies to Station and Access Point modes

Library:

qwf_interface