Microchip® Advanced Software Framework

tstrM2MWPSInfo Struct Reference

WPS Result.

This structure is passed to the application in response to a WPS request. If the WPS session is completed successfully, the
structure will have Non-ZERO authentication type. If the WPS Session fails (due to error or timeout) the authentication type
is set to ZERO.
See Also
tenuM2mSecType
Todo:
Use different error codes to differentaite error types.

#include <m2m_types.h>

Data Fields

uint8 __PAD__ [PAD_SZ(2+M2M_MAX_SSID_LEN+M2M_MAX_PSK_LEN)]
 
uint8 au8PSK [M2M_MAX_PSK_LEN]
 
uint8 au8SSID [M2M_MAX_SSID_LEN]
 
uint8 u8AuthType
 
uint8 u8Ch
 

uint8 tstrM2MWPSInfo::__PAD__[PAD_SZ(2+M2M_MAX_SSID_LEN+M2M_MAX_PSK_LEN)]

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MWPSInfo::au8PSK[M2M_MAX_PSK_LEN]

PSK for the network obtained from WPS.

uint8 tstrM2MWPSInfo::au8SSID[M2M_MAX_SSID_LEN]

SSID obtained from WPS.

uint8 tstrM2MWPSInfo::u8AuthType

Network authentication type.

uint8 tstrM2MWPSInfo::u8Ch

RF Channel for the AP.