SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
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:
Table 17-2 lists the status parameter values.
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_ STATUS_FAIL_NETWORK_NOT_FOUND | 1 | Profile confirmation failed because the SSID was not found during scan. |
SL_WLAN_PROVISIONING_CONFIRMATION_ STATUS_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_ STATUS_FAIL_CONNECTION_SUCCESS_IP_NOT_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_ STATUS_SUCCESS_FEEDBACK_FAILED | 4 | Profile confirmation failed; the SSID was found during scan, the WLAN connection was successful, IP address was acquired, but the feedback to user about the connection was not delivered. This event might be followed by a profile confirmation succeeded event, if feedback is eventually delivered. |
SL_WLAN_PROVISIONING_CONFIRMATION_ STATUS_SUCCESS | 5 | Profile confirmation succeeded; the SSID was found during scan, the WLAN connection was successful, IP address was acquired, and the feedback to user about the connection was delivered. |
SL_WLAN_PROVISIONING_ERROR_ABORT | 6 | The provisioning process was not started due to an unknown error. |
SL_WLAN_PROVISIONING_ERROR_ABORT_ INVALID_PARAM | 7 | Auto-provisioning process was not started due to an invalid parameter. |
SL_WLAN_PROVISIONING_ERROR_ABORT_ HTTP_SERVER_DISABLED | 8 | Auto-provisioning process was not started because the HTTP server is disabled. |
SL_WLAN_PROVISIONING_ERROR_ABORT_ PROFILE_LIST_FULL | 9 | Auto-provisioning process was not started because the profile list is full. |
SL_WLAN_PROVISIONING_ERROR_ABORT_ PROVISIONING_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_ SYNCED | 13 | SmartConfig configuration data transmission was discovered by the device. The device starts listening and collecting the profile data. |
SL_WLAN_PROVISIONING_SMART_CONFIG_ SYNC_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_ WLAN_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_ CONFIGURATION_READY | 17 | The host application may start running an external provisioning method (relevant only when APSC + External Configuration mode is used). |
During provisioning, the device might switch between different roles and connection states without notifying the host application; thus, when the process is stopped, a report about the current status of the device is sent to the host. When the value of the status parameter is SL_WLAN_PROVISIONING_STOPPED (12), additional information is provided through the following parameters:
These parameters are not relevant for other provisioning status values.