| Updated: October 28, 2024 |
Register an event handler with the QWF Wi-Fi Manager service
#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_RegisterCallback(const qwf_Context_t *const pCtx,
qwf_wifi_EventClientCallback_t eventHandler,
void *pClientData)
WIFI_OK Successful result
WIFI_ERR_INACTIVE The QWF Wi-Fi Manager service is inactive or not ready
WIFI_ERR_INT eventHandler is not NULL and a handler is already registered
WIFI_ERR_PARAM pCtx is NULL or the QWF Wi-Fi Manager context can't be retrieved