Microchip® Advanced Software Framework

tstrWifiInitParam Struct Reference

Structure, holding the Wi-fi configuration attributes such as the wi-fi callback , monitoring mode callback and Ethernet parameter initialization structure.

Such configuration parameters are required to be set before calling the wi-fi initialization function m2m_wifi_init. pfAppWifiCb attribute must be set to handle the wi-fi callback operations. pfAppMonCb attribute, is optional based on whether the application requires the monitoring mode configuration, and can there not be set before the initialization. strEthInitParam structure, is another optional configuration based on whether the bypass mode is set.

See Also
tpfAppEthCb tpfAppMonCb tstrEthInitParam

#include <m2m_wifi.h>

Data Fields

uint8 __PAD16__ [2]
 
uint8 GainTableIndex
 
tpfAppMonCb pfAppMonCb
 
tpfAppWifiCb pfAppWifiCb
 
tstrEthInitParam strEthInitParam
 

uint8 tstrWifiInitParam::__PAD16__[2]

Padding bytes for forcing 4-byte alignment

uint8 tstrWifiInitParam::GainTableIndex

Gain Table index to be used to configure the WiFi and BLE gains.

Referenced by m2m_wifi_init_start().

tpfAppMonCb tstrWifiInitParam::pfAppMonCb

Callback for monitoring interface.

tpfAppWifiCb tstrWifiInitParam::pfAppWifiCb

Callback for Wi-Fi notifications.

Referenced by app_wifi_init(), demo_start(), m2m_ble_wifi_init(), m2m_wifi_init_start(), main(), and winc_init().

tstrEthInitParam tstrWifiInitParam::strEthInitParam

Structure to hold Ethernet interface parameters.

Referenced by app_wifi_init(), m2m_ble_wifi_init(), and m2m_wifi_init_start().