Microchip® Advanced Software Framework

tstrM2MProvisionInfo Struct Reference

This struct contains the provisioning information obtained from the HTTP Provisioning server.

M2M Provisioning Information obtained from the HTTP Provisioning server.

#include <m2m_types.h>

Data Fields

uint8 au8Password [M2M_MAX_PSK_LEN]
 
uint8 au8SSID [M2M_MAX_SSID_LEN]
 
uint8 u8SecType
 
uint8 u8Status
 

uint8 tstrM2MProvisionInfo::au8Password

Provisioned Password.

Referenced by demo_wifi_state(), m2m_wifi_state(), post_main_page(), wifi_ap_connect(), and wifi_cb().

uint8 tstrM2MProvisionInfo::au8SSID
uint8 tstrM2MProvisionInfo::u8SecType
uint8 tstrM2MProvisionInfo::u8Status

Provisioning status. To be checked before reading the provisioning information. It may be

  • M2M_SUCCESS : Provision successful.
  • M2M_FAIL : Provision Failed.

Provisioning status. It must be checked before reading the provisioning information. It may be

  • M2M_SUCCESS : Provision successful.
  • M2M_FAIL : Provision Failed.

Referenced by demo_wifi_state(), m2m_wifi_state(), and wifi_cb().