qwf_wifi_StationModeStatusData_t

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); this applies only for Station Mode

bool connected

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

uint16_t connectedSavedNetworkId

Profile ID of the currently connected Saved Network. This is valid only if connected is true.

qwf_wifi_Ssid_t connectedSsid

SSID of the currently connected Access Point. This is valid only if 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

Library:

qwf_interface