This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF-LAUNCHXL: Unable to perform external confirmation while using Smart config based provisioning using SimpleLink WiFi Starter pro mobile app.

Part Number: CC3220SF-LAUNCHXL

HI Support,

I am using Simplelink WiFi starter pro mobile application for provisioning the devices (Smart Config based provisioning).

Once the Profile gets added to the device, I guess mobile app then confirms if the device is connected to the Wireless Access Point and then send the provisioning stop command to the Network Processor. Is this right?

If the above statement is right, then here is the issue that I am facing. Once the device connects to the Wireless Access Point, I need to get external cloud confirmation and then stop the provisioning process if the external cloud confirmation is successful. But in between external cloud confirmation, the NWP gets confirmation success and stops the provisioning process once it got connected to the Wireless Access Point. Is there any way to prevent this and make the NWP/Mobile App to wait until the external cloud confirmation is done. Also, for your information, I have also enabled the External Confirmation flag when sending the Start provisioning command. 

And one more question, I want to get clarity is, when I am using Smart config-based provisioning for multiple devices (let's say 2 devices), once mobile app gets the confirmation that (at least) one of the devices is connected to Wireless Access point, it stops broadcasting even if the other device didn't receive it. is there any way that mobile app can broadcast for specific duration of time irrespective of the device connected to WAP. And is there any library available for mobile app that can be modified accordingly.

Thanks & Regards

Sai Jnaneswar

  • Hi Sai,

    answered inline

    "Once the Profile gets added to the device, I guess mobile app then confirms if the device is connected to the Wireless Access Point and then send the provisioning stop command to the Network Processor. Is this right?"

    as you can see in https://dev.ti.com/tirex/explore/node?node=A__AJN8UxpFhXCnmN0pExnoqw__com.ti.SIMPLELINK_ACADEMY_CC32XXSDK__wg2mfY3__LATEST smartconfig provisioning flow image the mobile app sends an get confirmation result(HTTP) to the NWP which intern informs the host 

    "If the above statement is right, then here is the issue that I am facing. Once the device connects to the Wireless Access Point, I need to get external cloud confirmation and then stop the provisioning process if the external cloud confirmation is successful. But in between external cloud confirmation, the NWP gets confirmation success and stops the provisioning process once it got connected to the Wireless Access Point. Is there any way to prevent this and make the NWP/Mobile App to wait until the external cloud confirmation is done. Also, for your information, I have also enabled the External Confirmation flag when sending the Start provisioning command."

    If you take a look at the provisioning the SimpleLinkWlanEventHandler() handles WLAN Events which then signals the ProvisioningTask() that handles these events via gTransitionTable(holds the event handlers and next flow states). you can use these functions to achieve your goal(possibly use the CheckInternetConnection() handler).

    "And one more question, I want to get clarity is, when I am using Smart config-based provisioning for multiple devices (let's say 2 devices), once mobile app gets the confirmation that (at least) one of the devices is connected to Wireless Access point, it stops broadcasting even if the other device didn't receive it. is there any way that mobile app can broadcast for specific duration of time irrespective of the device connected to WAP. And is there any library available for mobile app that can be modified accordingly."

    smart config is meant for 1 device at a time, but take a look at https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/312139/how-does-smartconfig-technically-work  for the SmartConfig process.

    Best regards,

    Avi Epstein.