Syntax
typedef struct {
unsigned char u8SecType;
unsigned char au8SSID[M2M_MAX_SSID_LEN];
unsigned char au8Bssid[M2M_MAC_ADDRES_LEN];
unsigned char u8Options;
unsigned char u8RoamingModeAny;
unsigned char eapType;
unsigned char isPskHexstr;
unsigned char reserve[84];
union {
unsigned char au8PSK[M2M_MAX_PSK_LEN];
tstrWep strWepInfo;
tstrEapTls eapTls;
tstrMschap2 Mschap2;
} key;
} tstrWlanApInfoEap;
Members
- u8SecType
-
Specify the security types of the AP.
Value Description M2M_WIFI_SEC_OPEN Not secured. M2M_WIFI_SEC_WPA_PSK WPA M2M_WIFI_SEC_WEP WEP M2M_WIFI_SEC_802_1X EAP-TLS - au8SSID
-
Specify the SSID.
The maximum length of the string is 32 characters.
Please specify a NULL to the end of the string. - au8Bssid
- Not used.
- u8Options
- Not used.
- u8RoamingModeAny
-
Specifies whether to include the AP in the selection candidates when the roaming mode is set to WLAN_ROAMING_ANY.
Value Description AP_ROAMING_MODE_ANY_INCLUSION Include AP as a candidate for selection. AP_ROAMING_MODE_ANY_EXCLUSION Exclude APs from the selection candidates. - eapType
- Not used.
- isPskHexstr
- Not used.
- reserve
- Not used.
- key
- A union of the parametera for each encryption method.
- key.au8PSK
-
Specify the WPA password.
The maximum length of the string is 64 characters.
Please specify a NULL to the end of the string. - key.strWepInfo;
-
A pointer to the tstrWep structure.
Specify WEP key information. - key.eapTls
-
A pointer to the tstrEapTls structure.
EAP-TL parameter structure. - key.Mschap2
- Not used.
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Last updated: 2020/11/26