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

uint8 __PAD8__
 
uint8au8ethRcvBuf
 
tpfAppEthCb pfAppEthCb
 
tpfAppWifiCb pfAppWifiCb
 
uint16 u16ethRcvBufSize
 
uint8 u8EthernetEnable
 

uint8 tstrEthInitParam::__PAD8__

Padding

uint8 * tstrEthInitParam::au8ethRcvBuf

Pointer to Receive Buffer of Ethernet Packet

Referenced by app_wifi_init(), and m2m_wifi_init_start().

tpfAppEthCb tstrEthInitParam::pfAppEthCb

Callback for Ethernet interface.

Referenced by app_wifi_init(), and m2m_wifi_init_start().

tpfAppWifiCb tstrEthInitParam::pfAppWifiCb

Callback for wifi notifications.

Referenced by m2m_ble_wifi_init().

uint16 tstrEthInitParam::u16ethRcvBufSize

Size of Receive Buffer for Ethernet Packet

Referenced by app_wifi_init(), and m2m_wifi_init_start().

uint8 tstrEthInitParam::u8EthernetEnable

Enable Ethernet mode flag

Referenced by m2m_wifi_init_start().