Structure holding the incoming buffer's data size information, indicating the data size of the buffer and the remaining buffer's data size. The data of the buffer which holds the packet sent to the host when in the bypass mode, is placed in the tstrEthInitParam::au8ethRcvBuf attribute. This following information is retrieved in the host when an event M2M_WIFI_RESP_ETHERNET_RX_PACKET is received in the Wi-Fi callback function tpfAppWifiCb.
The application is expected to use this structure's information to determine if there is still incoming data to be received from the firmware.
The application is expected to use this structure's information to determine if there is still incoming data to be received from the firmware.
#include <m2m_wifi.h>
Data Fields | |
uint16 | u16DataSize |
uint16 | u16RemainingDataSize |
uint16 tstrM2mIpCtrlBuf::u16DataSize |
Size of the received data in bytes.
Referenced by m2m_wifi_cb().
uint16 tstrM2mIpCtrlBuf::u16RemainingDataSize |
Size of the remaining data bytes to be delivered to host.
Referenced by m2m_wifi_cb().