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.
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
This struct 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

#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__

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MWPSInfo::au8PSK

PSK for the network obtained from WPS.

Referenced by wifi_cb().

uint8 tstrM2MWPSInfo::au8SSID

SSID obtained from WPS.

Referenced by wifi_cb().

uint8 tstrM2MWPSInfo::u8AuthType

Network authentication type.

Referenced by wifi_cb().

uint8 tstrM2MWPSInfo::u8Ch

RF Channel for the AP.

Referenced by wifi_cb().