Microchip® Advanced Software Framework

tstrM2MWifiSecInfoLegacy_1_2 Struct Reference

Authentication credentials to connect to a Wi-Fi network. IMPORTANT: This structure is required only for legacy M2M_WIFI_REQ_CONNECT messages.

#include <m2m_types.h>

Data Fields

uint8 __PAD__ [2]
 
uint8 u8SecType
 
tuniM2MWifiAuthLegacy_1_2 uniAuth
 

uint8 tstrM2MWifiSecInfoLegacy_1_2::__PAD__[2]

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MWifiSecInfoLegacy_1_2::u8SecType

Wi-Fi network security type. See tenuM2mSecType for supported security types.

Referenced by legacy_connect_prepare_msg().

tuniM2MWifiAuthLegacy_1_2 tstrM2MWifiSecInfoLegacy_1_2::uniAuth

Union holding all possible authentication parameters corresponding the current security types.

Referenced by m2m_wifi_connect_psk(), and m2m_wifi_connect_wep().