qwf_wifi_DisableWlanInterface()

Updated: April 19, 2023

Disable the WLAN interface

Synopsis:

#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_DisableWlanInterface(qwf_Context_t *pCtx)

Arguments:

pCtx
A pointer to the QWF service context

Library:

qwf_interface

Description:

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.

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

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