qwf_wifi_EnableWlanInterface()

Updated: April 19, 2023

Enable the WLAN interface

Synopsis:

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

Arguments:

pCtx
A pointer to the QWF service context

Library:

qwf_interface

Description:

This function enables the WLAN interface so that the Wi-Fi Manager service allows connections to available Wi-Fi access points. While this interface is enabled, the service attempts 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