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.

CC3100 iPhone App does not work on 5s (TI-RTOS example)

Other Parts Discussed in Thread: CC3100, CC3200, CC3100SDK, TM4C1294NCPDT, MSP430F5529, CC31XXEMUBOOST

Hello,

I have been trying to get the iPhone CC3100 SimpleLink application to work for a couple of days with no luck.  I downloaded from the Apple App Store the SimpleLink WiFi Starter.  I installed it on my phone with no issues.  I did check the App site and it indicated that it was for the CC3100.  My problem is that it does not connect to the CC3100 in station mode.  I put in the SSID and password and press start but the application just sites their until it times out.  I have been successfully able to set up the CC3100 by using it in AP mode without the iPhone application.  I put the CC3100 in AP mode and then us my PC to connect to the AP website, http://simplelink.net, and set the CC3100 station SimpleLink parameters in the setup page.  When I do this the tcpEchoCC3100_TM4C1249NCPDT works fine.  When I try to use the iPhone application I get nothing.  The release version of the iPhone SimpleLink WiFi Starter application is 1.0.  Is anyone else having the same problems?

Best Regards,

Steve Mansfield

  • Hi Stephen,


    Can you please elaborate what you are trying to do? According to your description, it seems like you were bringing up the Out Of Box demo, which you don't need the WiFi Starter app.

    The WiFi Starter app is need when you are trying to make the CC3100/CC3200 to connect to an AP as a station via Smart Config provisioning.

  • Hello Victor,

    I was trying to get the smartconfig application on my iPhone to load the AP SSID, Security Type, and Password.  I have a Tiva TM4C1294XL LaunchPad and a CC3100BoosterPack.  I plugged the CC3100 into the Tiva BosterPack 1 connector.  I connected my USB cable to the Tiva USB diagnostic port.  I downloaded tcpEchoCC3100_TivaTM4C1294NCPDT and compiled and loaded it onto the Tiva board using Code Composer.  So far so good.  I downloaded the iPhone SmartConfig app onto my cell phone.  I pushed button0 on the Tiva board as directed by the tcpEcho readme file.  I believe this put the CC3100 in smartconfig mode.  I ran the iPhone application and placed my local router ssid, security type, and password.  The iPhone application did not do anything.  It just sat there and timed out.

    The procedure I followed is outlined in the readme in the tcpEchoCC3100 project folder.  I eventually got the smartconfig to work by placing the CC3100 in AP mode and using my PC to update smartconfig with my SSID, security type, and password using the CC3100 web application.  At this point I had no problems running tcpEchoCC3100 on the Tiva board along with a PC echo application called tcpSendReceive.  However, I would like to get the iPhone method to work.  Your thoughts?

    Best Regards,

    Steve Mansfield

  • Hi Stephen,

    Can you please point out the link to the tcpEchoCC3100 example? I'm not familiar with this application.

    First of all, are you able to connect to any AP with hard coded SSID and password? Is the CC3100 board revision compatible with the code, and is the board flashed with the correct firmware? Secondly, most of the time, depending on the code, CC3100 will connect to a stored profile and skip Smart Config. Make sure all stored profiles are deleted.

    On the other hand, can you please also give the provisioning_smartconfig example of the CC3100SDK a try?

  • Hello Victor,

    Answer 1:  tcpEchoCc3100_TivaTm4C1294NCPDT can be found in the TI Getting Started Webpage that is linked into Code Composer.  Load Code Composer and select Help.  Then select getting started and then Browse Examples.  The path is as follows,

    TI-RTOS for Tiva C

       Tiva C Series

          Tiva TM4C1294NCPDT

             Driver Examples

                EK-TM4C1294 Connected LaunchPad

                   TI Target Examples

                       WiFi Examples

                           TCP Echo for CC3100

    Answer 2:  Yes, when I place the CC3100 in AP mode (Press and hold SW1 then press SW3 and release SW3 and release Sw1) I then use my PC to connect to the CC3100 (http://mysimplelink.net).  Once in the CC3100 TI webpage I navigate over to settings.  I then use the WiFi Connectivity Profile Settings to load in my local Access Points.  I put in the AP SSID, Security Type, and Password.  I also checkbox AutoStart and Auto SmartConfig and click add.  I can add several AP at this point.   I then run tcpEcho on the Tiva Board and it runs with no problem and connects to the AP I programmed it to while in the CC3100 webpage.  I went through the code in tcpEcho and it does put the CC3100 in simplelink station mode and it successfully connects to an AP.

    Answer 3: I originally downloaded and tried the CC3100SDK as highlighted in all of the TI documentation.  However, the CC3100SDK works only when you are using the CC31XXEMUBOOST or an MSP430F5529 evaluation board.  All of the quick start and getting started documentation referers to these 2 platforms.  I have examined the code and all of it looks like it supports only these 2 platforms.  I am using the TM4C1294 Lauchpad.

    Just to be clear what the primary issue is for some reason I cannot use the iPhone smartconfig app to set up my CC3100 AP settings.  Maybe the tcpEchoCC3100 application does not set up the CC3100 board in the right configuration to allow the CC3100 to connect to the iPhone smartconfig app?  I am not sure.  I will look at some more at the tcpEchoCC3100 code today.  I am suspecting the tcpEchoCC3100 code is not putting the CC3100 into the right configuration.  At the end of the day I am thinking that this is more of a documentation issue.  All of the CC3100SDK documentation is oriented around the CC31XXEMUBOOST or MSP4305529.  If using a platform other than these two you need to setup the CC3100 smartconfig AP settings by setting the CC3100 in AP mode and programming the smartconfig AP access parameters by going to the CC3100 smartconfig website and using the settings utility.

    Your thoughts?

    Best Regards

    Steve Mansfield

  • Hi Stephen,

    Comment on your Answer 2: Your board seems to work fine.

    Comment on your Answer 3: The platforms we use in the SDK are just examples. The code can be ported into any platform of your choice. The CC31XXEMUBOOST isn't technically a platform because it's using your Windows PC as the host processor. However, regardless of the choice of platform, the CC3100 portion of the code should be identical. Please check the CC31xx Programming Guide for reference.

    I've forward this thread to the TI-RTOS forum. They are the ones that's maintaining this example. There was a new SDK and firmware release last month for CC3100/CC3200, so please ask them and make sure that you have the correct board revision, correct firmware flashed, and the example code is using the correct simplelink library version in order to run this example.

    The Smart Config feature of the WiFi Starter App has been verified to be working on both iPhones and Android phones, so please make sure the configurations in the example is correct.