1.1.10 Client - Bypass Mode APIs
This interface allows the application to send and receive layer 2 (Ethernet) data frames, bypassing the WINCS02 device's in-built network layer 3 (IP).
The WINCS02 device's in-built network layer 3 can be disabled using the l2Only
flag in the WDRV_WINC_CONN_CFG Struct
in the Wi-Fi Configuration API. This should be done before starting Soft-AP or BSS Connect.
To send layer 2 data frames the application calls WDRV_WINC_L2DataFrameSend
with the network interface index, data pointer and length of data.
To receive layer 2 data frames the application calls WDRV_WINC_L2DataMonitorCallbackSet
to register a WDRV_WINC_L2DATA_MONITOR_CALLBACK
type callback function. This callback function receives the network interface index, data pointer and length of the data.