qwf_wifi_Event_t

QWF Wi-Fi Manager event information delivered by the API to the client callback function

Synopsis:

#include <qwf/qwf_wifi.h>
typedef struct qwf_wifi_Event_s {
    qwf_wifi_EventCode_e eventCode;
    void* pClientCB;
    union
    {
        qwf_wifi_StationModeStatusData_t clientData;
        qwf_wifi_ApModeStatusData_t apData;
        uint8_t numberResults;
    } wifiEvent;
} qwf_wifi_Event_t;

Data:

qwf_wifi_EventCode_e eventCode

Event type (see qwf_wifi_EventCode_e)

void* pClientCB

Client callback

qwf_wifi_StationModeStatusData_t clientData

Connection status for WIFI_EVENT_CLIENT_CONNECTION_STATUS events

qwf_wifi_ApModeStatusData_t apData

Connection status for WIFI_EVENT_AP_CONNECTION_STATUS events

uint8_t numberResults

Number of scan results available for WIFI_EVENT_SCAN_RESULTS_AVAILABLE events. To obtain the available Access Point data, use qwf_wifi_GetScanResults().

Library:

qwf_interface