Microchip® Advanced Software Framework

tstrEthInitParam Struct Reference

Structure to hold Ethernet interface parameters. Structure is to be defined and have its attributes set, based on the application's functionality before a call is made to initialize the wi-fi operations by calling the m2m_wifi_init function. Part of the wi-fi configuration structure tstrWifiInitParam. Applications shouldn't need to define this structure, if the bypass mode is not defined.

See Also
tpfAppEthCb tpfAppWifiCb m2m_wifi_init
Warning
Make sure that application defines ETH_MODE before using tstrEthInitParam.

#include <m2m_wifi.h>

Data Fields

uint8au8ethRcvBuf
 
tpfAppEthCb pfAppEthCb
 
tpfAppWifiCb pfAppWifiCb
 
uint16 u16ethRcvBufSize
 
uint8 u8EthernetEnable
 

uint8* tstrEthInitParam::au8ethRcvBuf

Pointer to Receive Buffer of Ethernet Packet

Referenced by m2m_wifi_init_start().

tpfAppEthCb tstrEthInitParam::pfAppEthCb

Callback for Ethernet interface.

Referenced by m2m_wifi_init_start().

tpfAppWifiCb tstrEthInitParam::pfAppWifiCb

Callback for wifi notifications.

uint16 tstrEthInitParam::u16ethRcvBufSize

Size of Receive Buffer for Ethernet Packet

Referenced by m2m_wifi_init_start().

uint8 tstrEthInitParam::u8EthernetEnable

Enable Ethernet mode flag

Referenced by m2m_wifi_init_start().