qwf_wifi_GetClientStatus()

Updated: May 06, 2022

Query the Wi-Fi status for the Station Mode

Synopsis:

#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_GetClientStatus(qwf_Context_t *pCtx,
                                        qwf_wifi_StationModeStatusData_t *const pWifiStatus)

Arguments:

pCtx
A pointer to the QWF service context
pWifiStatus
A pointer to memory for storing a qwf_wifi_StationModeStatusData_t structure, which stores the Station Mode status data

Library:

qwf_interface

Description:

This function queries the Wi-Fi Manager service for Station Mode status data. The caller must provide the memory for the structure that the service writes the data into.

Returns:

WIFI_OK Successful result

WIFI_ERR_INACTIVE The QWF Wi-Fi Manager service is inactive or not ready

WIFI_ERR_INT The QWF Wi-Fi Manager service couldn't issue the request or read the response

WIFI_ERR_PARAM A pointer argument is NULL or the QWF Wi-Fi Manager context can't be retrieved