Syntax
typedef struct {
union {
unsigned char au8PSK[WLAN_CONFIG_LENGTH_PASSWORD];
tstr1xAuthCredentials strCred1x;
tstrM2mWifiWepParams strWepInfo
} key;
unsigned char u8SecType;
unsigned char u8RoamingModeAny;
unsigned char __PAD__[1];
unsigned short u16Ch;
unsigned char au8SSID[M2M_MAX_SSID_LEN];
unsigned char reserve;
} tstrWlanApInfo;
Members
- 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.strCred1x
- Not used.
- key.strWepInfo;
-
A pointer to the tstrM2mWifiWepParams structure.
Specify WEP key information. - 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 - 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. - __PAD__[1]
- Not used.
- u16Ch
- Not used.
- au8SSID
-
Specify the SSID.
The maximum length of the string is 32 characters.
Please specify a NULL to the end of the string. - reserve
- Not used.
Requirements
Header file:
lib.hLibrary file:
libSTARTUPOPH5000.a
Last updated: 2020/11/26