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.

Smartconfig problem

Other Parts Discussed in Thread: CC3200SDK, CC3200, CC3100

I have been trying to get Smartconfig working but having no luck.  I'm testing with the provisioning_smartconfig application.  I'm using CC3200SDK_1.0.0.  Other information that may or may not be useful:

NWP_Version: 2.2.7.1
MAC_Version: 31.1.2.4.2
PHY_Version: 1.5.3.17
HW_Version: 0x3000013

I'm using the Android app but I've also tried with iOS.  I've tried removing security from my AP.  I've tried rebuilding driverlib and simplelink.  I've made sure I have the latest service pack.  I've been successful with ap and wps provisioning.

I'm sure it must be something simple.  Any clues?

Thanks,

Lance

  • Hi Lance,

         There are several posts here discussing about Smart Config problems. Search for those posts here and maybe you can learn from the details in those posts.

          So far I have not encountered any problems using Smart Config Wifi Starter App at my Iphone4s. Anyway try also at other example program like httpserver, and see if you still get the same results.

          One good indicator that you have used Smart Config Wifi Starter App successfully is the print outs at Serial Console.

    - kel

  • Yes, I've tried other examples and searched the forum for answers. I also tried the pre-built binary included with the SDK. No luck. Any other ideas?

    Lance

  • I've had the same issue, Lance. I got SmartConfig to work once, using my Nexus 5. Afterwards, it refused to work no matter what I tried (2 Nexus 5's, one Nexus 4 and an iPhone 5S). I used the sample application firmware to make sure it wasn't an error on mine and still no luck.

    TI employees have mentioned that SmartConfig doesn't work on newer 5GHz frequencies so I'm not sure if this is the issue, but with that limitation alone, it's an unacceptable solution for any end-user products. I would suggest instead having the CC3200 act as an AP and doing configuration by connecting to it for inputting target-AP details through a web interface.

  • The AP and WPS provisioning modes both work very well.

    It certainly seems that there is quite a bit of question about Smartconfig.  I'd like to see someone from TI chime in on this.

    Lance

  • I have a similar problem, using the out of box binary from 'Provisionning Smart Config" in both debug and flash mode, I could not get passed the connection loop in the smart config function :

    // Wait for WLAN Event
    while((!IS_CONNECTED(g_ulStatus)) || (!IS_IP_ACQUIRED(g_ulStatus)))
    {
    _SlNonOsMainLoopTask();
    }

    I tried both IOS and Andriod cc3200 apps, they scan and report no devices found.

    If I hard code the SSID and key in the common.h file and then use Network_IF_ConnectAP(..) the device connects successfully and can perform all network related calls. Does this not eliminate the AP compatibility issue?

    I can also store network credentials on the cc3200 and successfully connect after it restarts.

    As reported earlier, I get no async events in the SimpleLinkWlanEventHandler(..) or alike

    Any suggestions?

  • Hi All,

    The Smart Config functionality should be working fine from our end. I'm actually using it quite frequently in my own testings.

    Several things to be aware while using Smart Config:

    • Even though the CC3100/CC3200 is connected to the AP, the "successful" popup message on the mobile application may not appear. Please make sure about the connection by checking the embedded code progress.
    • Some users reported issues when using Smart Config iPhone6 and iOS8. Please tell us the following in order to help our troubleshooting:
      • Phone model
      • Phone OS
      • AP configuration (2.4/5GHz, encryption, etc.)
      • WiFi environment (see below)
    • It has been reported a high failure rate if using Smart Config in a congested WiFi environment. We are already looking into it. In the meanwhile in your testing, please make sure the WiFi environment is not too crowded.
    1. .I'm using the 'Provisionning Smart Config' SDK example with no changes.

    2. The Launchpad successfully connects to the AP via manual credential setting (Using the demo web site or other manual SSID configuration examples) This would imply that there is no problem with AP security or reaching the AP.

    3. Before proceeding, I cleared all stored credentials.

    4. I tried both iphone 4 and android devices with smart config, never got passed the 'searching for device' stage.

    5. After attempting SmartConfig, I checked the WIFI active connections, there is no connection with the launchpad MAC address.

    6. Router is a Cisco LinkSys E1000, security settings are WPA2/WPA mixed mode.

    7. Network has a PC and two phones. Shouldn't be congested.

    Any idea what could be wrong?  

  • Hi Gadi,

    Sorry for the late response. We are aware of this issue and our R&D team is investigating it. However, no more info can be disclosed at this moment.

    This will be fixed in the future, but no exact date can be provided as of right now.

  • I've been working on this exact same problem for the last few days and have found some interesting stuff that I think is worth mentioning to your engineers.

    Setup:
    1. Corporate network 802.11n multiple AP's
    2. Private 802.11g network, one AP, Linksys brand
    3. Iphone 5s running IoS 7.0.6

    Symptom:
    Never gets past waiting for connection and waiting for IP while statement because the SL_WLAN_SMART_CONFIG_COMPLETE_EVENT event never comes. It just hangs in the following loop:
    while((!IS_CONNECTED(g_ulStatus)) || (!IS_IP_ACQUIRED(g_ulStatus)))

    Now here's where it gets interesting..... I try the code almost exactly as is from the example provisioning_smartConfig and I have that symptom. I also tried compiling and running provisioning_smartConfig unmodified, same symptom. I then grabbed a fresh CC3200 launchpad xl and went through the SmartConfig instructions with both networks, worked like a charm. The device was configured and loaded on to the AP with in seconds. I also loaded the out of box binary onto my previous dev board and it worked.

    So the only delta that I'm aware of in these situations is the code and the OS. The provisioning_smartConfig example app does not use freeRTOS where it would appear the out_of_box does.
  • Which out of box binary did you flash on the first launchpad? The 'Provisioning SmartConfig' binary or the full OutOfBox demo? My launchpad is stuck in the exact same loop, no callbacks received.

  • I have also been having problems with the Smart Configuration app, with both a SimpleLink Launchpad and a CC3100 BoosterPack. I could not configure either to connect to my network in Station Mode using the Android or iOS app. I have just tried a new SimpleLink Launchpad and although the app. did not find the board, when I set it in AP mode and accessed it from a browser a profile for my network had been set up and I could now access the board in Station Mode. Still can't get my original boards to work though, one problem I have is that my network password is a text string and the SimpleLink Launchpad needs hex numbers so I can't configure things manually. Can someone tell me what program the SimpleLink Launchpad ships with and how I can put this on my original board?