qwf_wifi_EventClientCallback_t

Updated: April 19, 2023

QWF Wi-Fi Manager event-handler prototype

Synopsis:

#include <qwf/qwf_wifi.h>
typedef void(* qwf_wifi_EventClientCallback_t)(qwf_Context_t *pCtx,
             qwf_wifi_Event_t *pEvent,
             void *pClientData);

Arguments:

pCtx
A pointer to the QWF service context
pEvent
A pointer to a QWF Wi-Fi Manager event object. This object is destroyed by the service when the handler returns.
pClientData
An optional pointer to extra data to be passed back to the client so it can use the data when executing this event handler. You can specify NULL if you're not using extra data.

Library:

qwf_interface

Description:

This data type provides a prototype for registering a function that handles QWF Wi-Fi Manager events. A client must provide a function that matches this prototype when calling qwf_wifi_RegisterCallback().

The event-handler function accepts input arguments containing pointers to the QWF service context, an event object and optionally, extra data. The function doesn't return anything.