Wi-Fi Direct
62
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
WLAN
Table 4-7. Common Errors (continued)
Error
Value
Comments
SL_ERROR_WLAN_KEY_ERROR
-2049
One of the security parameters or SSID supplied is wrong (invalid length
or not supported).
SL_ERROR_WLAN_INVALID_SECURITY
_TYPE
-2054
SL_ERROR_WLAN_PASSPHRASE_TOO
_LONG
-2055
SL_ERROR_WLAN_PASSWORD_ERRO
R
-2058
SL_ERROR_WLAN_SSID_LEN_ERROR
-2060
SL_ERROR_WLAN_PREFERRED_NET
WORK_LIST_FULL
-2062
No free profile
SL_ERROR_WLAN_INVALID_POLICY_T
YPE
-2066
Invalid policy type. Value is not supported.
SL_ERROR_WLAN_WIFI_ALREADY_DIS
CONNECTED
-2071
Applying disconnect command when disconnected
SL_ERROR_WLAN_GET_NETWORK_LI
ST_EAGAIN
-2073
Scan was not enabled, one-shot scan is immediately triggered, and user
should fetch the scan results again.
SL_ERROR_WLAN_GET_PROFILE_INV
ALID_INDEX
-2074
Profile index is too high or does not exist
4.5.6 Limitations
•
Service discovery is not supported.
•
GO-NOA is not supported.
•
No provisioning support for Wi-Fi Direct mode
•
Autonomous group is not supported.
•
P2P Group Owner mode supports single peer (client) connected.
•
Connection search is infinite, meaning if the remote device is not found the device keeps searching for
it.
4.6
WLAN Security
The SimpleLink Wi-Fi device supports a secured connection to the AP. A secured connection can be used
when establishing the connection manually or by profiles, and depends on the settings of the AP.
4.6.1 Personal Security
The SimpleLink Wi-Fi device supports all Wi-Fi security types, commonly known as AES, TKIP, and WEP.
The personal security type and personal security key are set both in manual connection API or profiles
connection API.
lists the supported security types.
Table 4-8. Supported Personal Security Types
Value
Description
Password Length
Supported
Mode
SL_WLAN_SEC_TYPE_OPEN
No security
STA, AP
SL_WLAN_SEC_TYPE_WEP
WEP open security
5 or 10 characters in
HEX format
13 or 26 characters
in ASCII format
STA, AP
SL_WLAN_SEC_TYPE_WEP_SHARED
WEP shared security
5 or 10 characters in
HEX format
13 or 26 characters
in ASCII format
STA