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.

CC3200: Provisioning AP Example, Unable to Start Provisioning Sequence

Part Number: CC3200
Other Parts Discussed in Thread: UNIFLASH, CC3220SF-LAUNCHXL

Hello All,

I am trying to get the "provisioning_ap" example up and going. I have been able to build the provisioning library and the application successfully. But when I run the Wifi Starter Pro app, I get the error message "The provisioning sequence has not started yet. Device is waiting for configuration to be sent". The Starter Pro app is able to find and begin configuration of the device before the app fails. The app fails when it tries to verify the connection via AP. I have tried unsuccesfully to turn on the debug print feature for the provisioning app. I have read through the application notes about embedding the provisioning library in another project, but that does not appear to applicable for the example program. Does anyone have any idea about what might be going on? I am also open to suggestions if other people feel there is an easier way (a different example) to setup provisioning on the CC3200.

Best regards,

Eric

  • I am also unable to get the provisioning_ap application working when I try to load the original .bin file that comes with SDK 1.3.0 via Uniflash.
  • Just for the heck of it, I reinstalled the SDK 1.3.0 and rebuilt the provisioning library and provisioning_ap application from scratch again. Now I am getting the error "Application cannot configure the selected device. Either you have selected a non-SimpleLink device or you have selected a SimpleLink device which supports only legacy provisioning sequence. Please choose another SimpleLink device"
  • Hi Eric,

    Please see this thread: e2e.ti.com/.../582934

    You also should re-flash the latest servicepack, be sure that your mobile device is connecting to the wireless network for your CC3200 when you start provisioning, and check that "Enable SmartConfig" is turned off in the app's settings in order to use the AP provisioning mode.

    Best regards,
    Sarah
  • Hello Sarah,

    Thanks for your response! I tried following the thread you mentioned as closely as I could. That thread is talking about "provisioning_config" instead of "provisioning_ap". I have included the provisioning library define and rebuilt the SimpleLink library for NON-OS. I have also updated the service pack on my board. Unfortunately I am still getting the error seen in the attached photo. Do you know how to turn on debugging for the provisioning application in order to print out more information to the UART?

    Best regards,

    Eric

  • Hi All!

    Is the "provisioning_ap" project supposed to be a TI-RTOS enabled project? The table here: http://processors.wiki.ti.com/index.php/CC32xx_SDK_Sample_Applications#Network_Reference_Examples_for_the_CC3200_LaunchPad

    Lists the "provisioning_ap" example as a TI-RTOS project. What is the proper library configuration for this project? Here is what the library includes currently look like:

    Best regards,

    Eric

  • Hi Eric,

    The Provisioning AP example should come with UART terminal printing enabled. Please check that the NOTERM is not a predefined symbol in your project properties. If you are still unable to print to the terminal (such as if uart_if.c is not included in the project files), please see the thread I posted above for how to add terminal printing to any CC3200 project.

    The screenshot you showed me says that you are trying to provision the device while connected to "altran-guest" network. You need to be connected to the CC3200 AP. This is by default "mysimplelink-000000" where the last six characters are your MAC address. You may have to wait a minute for the AP to be visible when you run the example. Please see detailed instructions here: http://processors.wiki.ti.com/index.php/CC32xx_Provisioning_AP

    The table shows you that the Provisioning AP example was updated in a previous SDK. The deprecated version used TI-RTOS, but the current version is Non-OS.

    Best regards,

    Sarah

  • Thank you Sarah for the additional information. It looks like I am up and going now. If I have any further questions. I will open a new thread.
  • I apologize if I re-open this thread, but I experience pretty the same issue. I'm using a CC3220SF-LAUNCHXL, SDK 1.30.01, but with both provisioning or out-of-box example (TI RTOS / CCS compiler) the WiFi Starter PRO application doesn't recognize them as simplelink devices, with the same errore reported above.

    I'm connected to the AP generated by provisioning service but it says it isn't a simplelink network.
  • Hi Mark,

    What service pack are you using? Are you using the most recent mobile app? Android or iOS? To use AP provisioning in the CC3220 Out of Box application, be sure you are pressing button SW2 on the LaunchPad as shown in the example README.

    Best regards,
    Sarah
  • Hi Sarah!

    Sarah Pelosi said:

    What service pack are you using?

    sp_3.3.0.0_2.0.0.0_2.2.0.4.bin


    Are you using the most recent mobile app? Android or iOS?

    v2.2.22 SC lib 1.0.2 for Android


    To use AP provisioning in the CC3220 Out of Box application, be sure you are pressing button SW2 on the LaunchPad as shown in the example README.

    I also tried with AP and SW2. The serial output says:

    [Provisioning task] detected device is CC3220SF
    [NETAPP EVENT] IP Acquired: IP=10.123.45.1 , Gateway=10.123.45.1
    [WLAN EVENT] External Station connected to SimpleLink AP
    [WLAN EVENT] STA BSSID: bc:75:74:f0:12:fb
      

    but the application always shows the fail message: "[...] either you have selected a non-SimpleLink device or you have selected a SimpleLink device which supports only legacy provisioning sequence. [...]"

  • Hi all,

    I have the same issue ....