Microchip® Advanced Software Framework

tstrM2MAPConfig Struct Reference

This structure holds the configuration parameters for the AP mode. It should be set by the application when it requests to enable the AP operation mode. The AP mode currently supports only OPEN and WEP security.

AP Configuration.

This structure holds the configuration parameters for the M2M AP mode. It should be set by the application when it requests to enable the M2M AP operation mode. This mode supports either open, WEP or WPA/WPA2 mixed mode security types.

#include <m2m_types.h>

Data Fields

uint8 __PAD16__ [2]
 
uint8 __PAD24__ [3]
 
uint8 au8DHCPServerIP [4]
 
uint8 au8Key [M2M_MAX_PSK_LEN]
 
uint8 au8SSID [M2M_MAX_SSID_LEN]
 
uint8 au8WepKey [WEP_104_KEY_STRING_SIZE+1]
 
uint8 u8KeyIndx
 
uint8 u8KeySz
 
uint8 u8ListenChannel
 
uint8 u8SecType
 
uint8 u8SsidHide
 

uint8 tstrM2MAPConfig::__PAD16__[2]

Padding bytes for forcing alignment

uint8 tstrM2MAPConfig::__PAD24__[3]

Padding bytes for forcing alignment

uint8 tstrM2MAPConfig::au8DHCPServerIP

AP DHCP server address

Ap IP server address

Referenced by enable_disable_ap_mode(), m2m_wifi_start_provision_mode(), main(), and wifi_ap_provision().

uint8 tstrM2MAPConfig::au8Key[M2M_MAX_PSK_LEN]

WPA key

uint8 tstrM2MAPConfig::au8SSID

AP SSID

< Configuration parameters for the WiFi AP.AP SSID

Referenced by enable_disable_ap_mode(), m2m_wifi_state(), main(), run_provisioning(), and wifi_ap_provision().

uint8 tstrM2MAPConfig::au8WepKey

WEP key

Wep key

Referenced by main(), and wifi_ap_provision().

uint8 tstrM2MAPConfig::u8KeyIndx

WEP key index

Wep key Index

Referenced by main(), and wifi_ap_provision().

uint8 tstrM2MAPConfig::u8KeySz

WEP key size

Wep/WPA key Size

Referenced by main(), and wifi_ap_provision().

uint8 tstrM2MAPConfig::u8ListenChannel

Wi-Fi RF Channel which the AP will operate on

Referenced by enable_disable_ap_mode(), main(), and wifi_ap_provision().

uint8 tstrM2MAPConfig::u8SecType

Security type: OPEN or WEP

Security type: Open, WEP or WPA/WPA2 mixed mode

Referenced by enable_disable_ap_mode(), main(), and wifi_ap_provision().

uint8 tstrM2MAPConfig::u8SsidHide

SSID Status "Hidden(1)/Visible(0)"