SWRA513C January 2020 – September 2020 CC3120 , CC3120MOD , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Because during the provisioning process the device switches between different roles, connects to different APs, and changes its IP addresses, host commands may not be properly served. As a result, when the host issues a command during an active provisioning process, the SL_RET_CODE_PROVISIONING_IN_PROGRESS (–2014) error is returned. Only the sl_WlanProvisioning and sl_stop commands are allowed. If the host is interested in executing a different command, it must either wait for the provisioning process to end, or manually stop it (using the SL_WLAN_PROVISIONING_CMD_STOP command). In addition, events that may be sent to the host during the provisioning connection attempts (such as NETAPP_IPACQUIRED) are blocked and will not reach the user (except for the provisioning dedicated events, such as the provisioning status event).
In some cases, after provisioning starts the APIs are unblocked to let the host perform some actions that are necessary for completing the provisioning process. These actions follow: