1.1.10.2 WDRV_WINC_L2DataFrameSend
C
WDRV_WINC_STATUS WDRV_WINC_L2DataFrameSend
(
DRV_HANDLE handle,
WDRV_WINC_NETIF_IDX ifIdx,
const uint8_t *const pl2Data,
size_t l2DataLen
)Description
Queues an L2 frame to the WiFi subsystem for transmission.
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. |
| ifIdx | Network interface index. |
| pl2Data | Pointer to L2 data frame. |
| l2DataLen | Length of L2 data frame payload. |
Returns
WDRV_WINC_STATUS_OK - The information has been returned.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
Remarks
None.
