Delta / NNN50_WIFI_API

Dependents:   NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more

Embed: (wiki syntax)

« Back to documentation index

tstrM2mIpCtrlBuf Struct Reference

tstrM2mIpCtrlBuf Struct Reference
[DataTypes]

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 structure in the 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. More...

#include <m2m_wifi.h>

Data Fields

uint16 u16DataSize
uint16 u16RemainigDataSize

Detailed Description

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 structure in the 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.

See also:
tpfAppEthCb tstrEthInitParam
Warning:
Make sure that ETHERNET/bypass mode is defined before using tstrM2mIpCtrlBuf

Definition at line 524 of file m2m_wifi.h.


Field Documentation

Size of the received data in bytes.

Definition at line 526 of file m2m_wifi.h.