SWRA513C January 2020 – September 2020 CC3120 , CC3120MOD , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The provisioning status event contains the following parameters.
Table 7-4 lists the values the Status parameter can have.
Command | Value | Action |
---|---|---|
SL_WLAN_PROVISIONING_GENERAL_ERROR | 0 | The provisioning process encountered an unknown error. |
SL_WLAN_PROVISIONING_CONFIRMATION_STATUS_FAIL_NETWORK_NOT_FOUND | 1 | The profile confirmation failed because the SSID was not found. |
SL_WLAN_PROVISIONING_CONFIRMATION_STATUS_FAIL_CONNECTION_FAILED | 2 | The SSID was found, but the profile confirmation failed because WLAN connection was not successful. |
SL_WLAN_PROVISIONING_CONFIRMATION_STATUS_FAIL_CONNECTION_SUCCESS_IP_NOT_ACQUIRED | 3 | The SSID was found, the WLAN connection was successful, but the profile confirmation failed because an IP address was not successfully acquired. |
SL_WLAN_PROVISIONING_CONFIRMATION_STATUS_SUCCESS_FEEDBACK_FAILED | 4 | The SSID was found, the WLAN connection was successful, an IP address was successfully acquired, but the feedback to the user about the successful connection was not successfully delivered. |
SL_WLAN_PROVISIONING_CONFIRMATION_STATUS_SUCCESS | 5 | The SSID was found, the WLAN connection was successful, an IP address was successfully acquired and the feedback to the user about the successful connection was successfully delivered. Confirmation stage ended successfully. |
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 | The provisioning process was not started due to an invalid parameter. |
SL_WLAN_PROVISIONING_ERROR_ABORT_HTTP_SERVER_DISABLED | 8 | The provisioning process was not started because the HTTP server is disabled. |
SL_WLAN_PROVISIONING_ERROR_ABORT_PROFILE_LIST_FULL | 9 | The provisioning process was not started because the profile list is full. |
SL_WLAN_PROVISIONING_ERROR_ABORT_PROVISIONING_ALREADY_STARTED | 10 | The provisioning process was not started because it is already running. |
SL_WLAN_PROVISIONING_AUTO_STARTED | 11 | The provisioning process was automatically started by the device. |
SL_WLAN_PROVISIONING_STOPPED | 12 | The provisioning process 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 cannot extract the profile data out of it. |
SL_WLAN_PROVISIONING_CONFIRMATION_WLAN_CONNECT | 15 | A WLAN connection was established during a confirmation stage. |
SL_WLAN_PROVISIONING_CONFIRMATION_IP_ACQUIRED | 16 | An IP address was acquired during a confirmation stage. |
SL_WLAN_PROVISIONING_EXTERNAL_CONFIGURATION_READY | 17 | User may start configuring the device using an external confirmation method (relevant only when APSC plus External Configuration mode is used). |
If the value of the status parameter is SL_WLAN_PROVISIONING_STOPPED (12), additional information is provided with the following parameters.
During the provisioning process the device might change its active role and connection status without informing the host application; when the process ends this information is sent to the host to inform it of the current status of the device. These parameters are not relevant in other provisioning status values.