Common Events and Errors
213
SWRU455A – February 2017 – Revised March 2017
Copyright © 2017, Texas Instruments Incorporated
Provisioning
15.10 Common Events and Errors
15.10.1 Provisioning Status Event
The networking subsystem constantly updates the host application regarding the progress of the
provisioning process, through the provisioning status event.
The provisioning status event has the following parameters:
•
Status
•
Role
•
WlanStatus
•
SsidLen
•
Ssid
lists the status parameter values.
Table 15-2. Provisioning Status
SL_WLAN_PROVISIONING_GENERAL_ERROR
0
The provisioning process has encountered an unknown error. TI
recommends stopping and starting the process again.
SL_WLAN_PROVISIONING_CONFIRMATION_S
TATUS_FAIL_NETWORK_NOT_FOUND
1
Profile confirmation failed because the SSID was not found during
scan.
SL_WLAN_PROVISIONING_CONFIRMATION_S
TATUS_FAIL_CONNECTION_FAILED
2
Profile confirmation failed; the SSID was found during scan, but the
WLAN connection was not successful (possibly due to the wrong
password).
SL_WLAN_PROVISIONING_CONFIRMATION_S
TATUS_FAIL_CONNECTION_SUCCESS_IP_NO
T_ACQUIRED
3
Profile confirmation failed; the SSID was found during scan, the
WLAN connection was successful, but an IP address was not
successfully acquired.
SL_WLAN_PROVISIONING_CONFIRMATION_S
TATUS_SUCCESS_FEEDBACK_FAILED
4
Profile confirmation failed; the SSID was found during scan, the
WLAN connection was successful, IP address was successfully
acquired, but the feedback to user about the successful connection
was not successfully delivered. This event might be followed by a
profile confirmation succeeded event, if feedback is eventually
delivered.
SL_WLAN_PROVISIONING_CONFIRMATION_S
TATUS_SUCCESS
5
Profile confirmation succeeded; the SSID was found during scan, the
WLAN connection was successful, IP address was successfully
acquired, and the feedback to user about the successful connection
was successfully delivered.
SL_WLAN_PROVISIONING_ERROR_ABORT
6
The provisioning process was not started due to an unknown error.
SL_WLAN_PROVISIONING_ERROR_ABORT_IN
VALID_PARAM
7
Auto-provisioning process was not started due to an invalid
parameter.
SL_WLAN_PROVISIONING_ERROR_ABORT_H
TTP_SERVER_DISABLED
8
Auto-provisioning process was not started because the HTTP server
is disabled.
SL_WLAN_PROVISIONING_ERROR_ABORT_P
ROFILE_LIST_FULL
9
Auto-provisioning process was not started because the profile list is
full.
SL_WLAN_PROVISIONING_ERROR_ABORT_P
ROVISIONING_ALREADY_STARTED
10
Auto-provisioning process was not started because it is already
running.
SL_WLAN_PROVISIONING_AUTO_STARTED
11
The provisioning process was automatically started by the networking
subsystem.
SL_WLAN_PROVISIONING_STOPPED
12
The provisioning process has ended.
SL_WLAN_PROVISIONING_SMART_CONFIG_S
YNCED
13
SmartConfig configuration data transmission was discovered by the
device. The device starts listening and collecting the profile data.
SL_WLAN_PROVISIONING_SMART_CONFIG_S
YNC_TIMEOUT
14
SmartConfig configuration data transmission was discovered by the
device, but the device was not able to extract the profile data from it.
SL_WLAN_PROVISIONING_CONFIRMATION_W
LAN_CONNECT
15
A WLAN connection was established during profile confirmation
attempt.
SL_WLAN_PROVISIONING_CONFIRMATION_IP
_ACQUIRED
16
IP address was acquired during profile confirmation attempt.
SL_WLAN_PROVISIONING_EXTERNAL_CONFI
GURATION_READY
17
The host application may start running an external provisioning
method (relevant only when APSC + External Configuration mode is
used).