Updated: October 28, 2024 |
Disable the WLAN interface
#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_DisableWlanInterface(qwf_Context_t *pCtx)
This function disables the WLAN interface so that the Wi-Fi Manager service doesn't allow connections to available Wi-Fi access points. While this interface is disabled, the service doesn't attempt connections to enabled Saved Networks.
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
WIFI_ERR_PARAM pCtx is NULL or the QWF Wi-Fi Manager context can't be retrieved