Updated: October 28, 2024 |
Enable the WLAN interface
#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_EnableWlanInterface(qwf_Context_t *pCtx)
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.
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