Updated: October 28, 2024 |
Query the Wi-Fi status for the Station Mode
#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_GetClientStatus(qwf_Context_t *pCtx, qwf_wifi_StationModeStatusData_t *const pWifiStatus)
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.
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