Microchip® Advanced Software Framework

tstrM2mWifiPsk Struct Reference

#include <m2m_types.h>

Data Fields

uint8 au8Passphrase [M2M_MAX_PSK_LEN-1]
 
uint8 au8Psk [PSK_CALC_LEN]
 
uint8 au8Rsv [2]
 
uint8 u8PassphraseLen
 
uint8 u8PskCalculated
 

uint8 tstrM2mWifiPsk::au8Passphrase[M2M_MAX_PSK_LEN-1]

Passphrase, or ASCII representation of PSK if u8PassphraseLen is 64.

Referenced by m2m_wifi_connect_psk().

uint8 tstrM2mWifiPsk::au8Psk[PSK_CALC_LEN]

PSK calculated by firmware. Driver sets this to 0.

uint8 tstrM2mWifiPsk::au8Rsv[2]

Reserved for future use. Set to 0.

uint8 tstrM2mWifiPsk::u8PassphraseLen

Length of passphrase (8 to 63) or 64 if au8Passphrase contains ASCII representation of PSK.

Referenced by m2m_wifi_connect_psk().

uint8 tstrM2mWifiPsk::u8PskCalculated

Flag used by firmware to avoid unnecessary recalculation of PSK. Driver sets this to 0.