1.1.10.3 WDRV_WINC_L2DataMonitorCallbackSet
C
WDRV_WINC_STATUS WDRV_WINC_L2DataMonitorCallbackSet ( DRV_HANDLE handle, WDRV_WINC_L2DATA_MONITOR_CALLBACK pfL2DataMonitorCB )
Description
Sets the callback used to report L2 data frames.
Precondition
WDRV_WINC_Initialize
must have been called.
WDRV_WINC_Open
must have been called to obtain a valid handle.
Parameters
Parameters | Description |
---|---|
handle | Client handle obtained by a call to WDRV_WINC_Open. |
pfL2DataMonitorCB | Pointer to callback to set. |
Returns
WDRV_WINC_STATUS_OK - The request has been accepted.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
Remarks
None.