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 AP-Provisioning

Other Parts Discussed in Thread: CC3200

Hi Ti employees,

I am running the AP-Provisioning code on my CC3200 and finally I get the message on my browser "Successfully connected to AP" so now I am in station mode but what I can't understand is that still I am watching the Simplelink Wifi signal in the wifi list of my computer and still it is connected as an access point.Beside that how can i now the ip address of the cc3200 when it is in the station mode. 

  • Hi Haitham,

    Please follow the instruction as stated in this page: http://processors.wiki.ti.com/index.php/CC31xx_Provisioning_AP

    The purpose of this demo is to show the AP provisioning ability. Once the CC3200 is connected to an AP, it is in station mode. That's the end of the demo.

    You are free to modify the sample application and perform any action you'd like after connected to the AP. We do provide an API to get the IP address of the device. Please check the documentation here: http://software-dl.ti.com/ecs/cc31xx/APIs/public/cc32xx_simplelink/latest/html/index.html

  • Dear Victor,

    I have a problem when I reached the final steps in AP-Provisioning.It gave me a message that I am successfully connected to my home AP but when I open (mysimplelink.net/main.html ) and after that to deviceconfig in order to change from access mode to station mode and then press reset it doesn't work and it is stuck there and I receive this message in the CCS debugger as you see 

  • Hi Haitham,

    You reset the device while CCS is debugging. The will certainly drop communication with the PC.

    I'd suggest you get some more familiarity with embedded programming before proceeding further. It is crucial for you to understand what goes behind the scene.

  • Hi victor,

    I am attaching two pictures.The first one says that I am successfully connected to my AP but I should go after that and change the mode to station and press reset as it mentioned in the second picture.

  • Hi Haitham,

    I'm not sure if you are asking a question or not, but this is the AP Provisioning demo. Your device will switch to station mode once you press the "Switch to Station Mode" button.

  • Hi Victor,

    yes I am wondering because it is written obviously under that I should press reset in order the new mode takes an effect and when I change to the station mode and press reset I will get the error in the CCS debug screen and as you said when you press reset while debugging to will abort the communication with the computer but it is writeen in the HTML page so what is wrong now?? What should I do??

  • Hi Haitham,

    Please follow the instruction carefully. It says you need to use Uniflash to flash the files onto the device and bring up the demo. Debugging in CCS will not work because application code is downloaded into RAM only under debugging. Once the reset is pressed, the RAM is cleared.

  • Hi victor,

    • Run the reference application
      1. Run From IDE (IAR/CCS)
        • Open the Example Project as mentioned in the <cc3200-sdk>\docs\CC3200-Getting Started Guide.pdf
        • Build and download the application to the board
      2. Run From Flashed Binary
        • Remove SOP-2 Jumper on Board and Press Reset. Refer CC3200 Getting Started guide for detailed Information

    These information are from the SDK so we have two ways of debugging the code as I understand so I can use one of them .Of course I flash the files.Anyway I tried to debug by removing SOP2 jumper and reset and it works and I get that is successfully connected to my AP but again when I go and switch it to station mode and reset I am not seeing that my device is connected to my router and still is acting as an access point and I opened the router page to see it is connected or not ,it is not connected.

  • Hi Haitham,

    I just verified the demo and it's working fine for me. Please make sure the SSID, security type, security key, and the profile priority is correct. Notice that there are some restrictions on the security type in this demo.

    Also, please make sure the service pack on your CC3200 is the latest, if using a compatible board.

  • Hi Victor,

    I verified everything and flashed the latest service pack and I am receiving the message in the image that I have attached to you before "Successfully connected to AP" but then when I go to "mysimplelink.net/main.html  to change the mode to station it didn't connect at all till now to a station mode.Sorry but till now my problem isn't solved.

  • Hi Victor,

    I verified everything and flashed the latest service pack and I am receiving the message in the image that I have attached to you before "Successfully connected to AP" but then when I go to "mysimplelink.net/main.html  to change the mode to station it didn't connect at all till now to a station mode.Sorry but till now my problem isn't solved.

  • Hi Victor,

    What is the value of profile priority.maybe this is making problem for me.

  • Haitham,

    The 'provisioning_ap' application of CC3200-SDK configures the device back in AP mode after the provisioning. You can of course modify the application to configure the device in STA mode on getting a POST message from the browser - Please take references from the corresponding application of CC3100-SDK for implementing the same. Let me know if you need further assistance on this.

    -/Praneet