Microchip® Advanced Software Framework

tstrAuthPsk Struct Reference

#include <m2m_wifi.h>

Data Fields

uint8pu8Passphrase
 
uint8pu8Psk
 
uint8 u8PassphraseLen
 

uint8 * tstrAuthPsk::pu8Passphrase

Pointer to Passphrase (Printable ASCII). Must be NULL if PSK is provided instead.

Referenced by m2m_wifi_connect_psk(), and m2m_wifi_connect_sc().

uint8 * tstrAuthPsk::pu8Psk

Pointer to PSK, represented as an ASCII string (64 characters, representing 32 bytes). Must be NULL if Passphrase is provided instead.

Referenced by m2m_wifi_connect_psk(), and m2m_wifi_connect_sc().

uint8 tstrAuthPsk::u8PassphraseLen

Length of Passphrase. Permitted values are between 8 and 63. This field is ignored if pu8Passphrase == NULL.

Referenced by m2m_wifi_connect_psk(), and m2m_wifi_connect_sc().