NNN50 WIFI_API library
Dependents: NNN50_CE_Test_UDP NNN50_linux_firmware NNN50_SoftAP_HelloWorld NNN50_BLEWIFISensor ... more
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.
Generated on Wed Jul 13 2022 16:32:38 by
1.7.2