SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
During the provisioning process, the device switches between different roles, connects to different APs, and changes its IP address. Thus, the host commands may not be properly served. As a result, when a command is issued by the host application during an active provisioning process, an SL_RET_CODE_PROVISIONING_IN_PROGRESS (–2014) error is returned. The only allowed commands are sl_WlanProvisioning and sl_Stop. For all other commands, the host must wait for the provisioning process to end, or manually stop it (using the SL_WLAN_PROVISIONING_CMD_STOP command). Additionally, events that may be sent to the host during the provisioning connection attempts (such as NETAPP_IPACQUIRED) are blocked, and will not reach the host application (except for dedicated provisioning events, such as the provisioning status event).
In some cases, after provisioning starts, the host is allowed to send commands and receive all events to perform some actions necessary for completing the provisioning process: