Microchip® Advanced Software Framework

tstrM2MDataBufCtrl Struct Reference

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 is placed in the tstrEthInitParam structure in the au8ethRcvBuf attribute. This following information is retreived 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 strurture's information to determine if there is still incoming data to be received from the firmware.

See Also
tpfAppEthCb tstrEthInitParam

#include <m2m_wifi.h>

Data Fields

uint16 u16DataSize
 
uint16 u16RemainigDataSize
 
uint8 u8DataOffset
 
uint8 u8IfcId