Here are listed all the functions that implement the Bypass Mode APIs.
Functions | |
sint8 | m2m_wifi_send_ethernet_pkt (uint8 *pu8Packet, uint16 u16PacketSize) |
Synchronous function to transmit an Ethernet packet. More... | |
Synchronous function to transmit an Ethernet packet.
Transmit a packet directly in ETHERNET/bypass mode where the TCP/IP stack is disabled and the implementation of this packet is left to the application developer. The Ethernet packet composition is left to the application developer.
[in] | pu8Packet | Pointer to a buffer holding the whole Ethernet frame. |
[in] | u16PacketSize | The size of the whole packet in bytes. |
References hif_send(), M2M_ETHERNET_HDR_LEN, M2M_ETHERNET_HDR_OFFSET, M2M_HIF_HDR_OFFSET, M2M_REQ_DATA_PKT, M2M_REQ_GROUP_WIFI, M2M_WIFI_REQ_SEND_ETHERNET_PACKET, NULL, tstrM2MWifiTxPacketInfo::u16HeaderLength, and tstrM2MWifiTxPacketInfo::u16PacketSize.