qwf_wifi_ApModeStatusData_t

Updated: October 26, 2022

Wi-Fi status data for Access Point Mode

Synopsis:

#include <qwf/qwf_wifi.h>
typedef struct qwf_wifi_ApModeStatusData_s {
    qwf_wifi_WifiRole_e role;
    qwf_wifi_AccessPointModeState_e apState;
    uint16_t apNumClients;
    uint16_t apMaxClients;
    char lastEvent[QWF_WIFI_MAX_WPA_SUPL_EVENT_LEN+1];
} qwf_wifi_ApModeStatusData_t;

Data:

qwf_wifi_WifiRole_e role

Current Wi-Fi Manager role (Station or Access Point). Most other fields are meaningful only if this field is WIFI_ROLE_ACCESS_POINT.

qwf_wifi_AccessPointModeState_e apState

State of the Wi-Fi Manager when it's acting as an Access Point

uint16_t apNumClients

Number of clients connected to this Access Point

uint16_t apMaxClients

Maximum number of clients allowed on this Access Point

char lastEvent[QWF_WIFI_MAX_WPA_SUPL_EVENT_LEN+1]

Last event generated by the Wi-Fi supplicant (applies to both Station and Access Point modes)

char apEvent[QWF_WIFI_MAX_HOSTAPD_EVENT_LEN+1]

Last event generated by hostapd for Access Point Mode

Library:

qwf_interface