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 done flag



I got a reply from TI that indicated that the factory apps team is looking into this.  They requested that I post a summary of my results.  Here they are:

The bottom line is smart config is not working for me and I am not getting the SIMPLE_CONFIG_DONE flag.

I have ported the code and am initialize the CC3000 as described in the CC3000 Serial Port Interface (SPI) document, by initializing the interface and then sending the HCI_CMND_SIMPLE_LINK_START command and the HCI_CMND_READ_BUFFER_SIZE command.  In both cases, I get the command complete as expected.
I then call the following routines:
wlan_ioctl_set_connection_policy(0, 0, 0);
wlan_ioctl_del_profile(255);
wait until the CC3000 is disconnected
wlan_smart_config_set_prefix("TTT");
wlan_smart_config_start(0);

Everything works as expected.
I then send a probe as described in the CC3000 First Time Configuration document.
I then wait for the SIMPLE_CONFIG_DONE flag and I never receive it.  I have tried checking for interrupts and the line from the CC3000 never asserts.

I have tried several different probes as well as beacons and none of them have worked.  I have also tried passing a 1 to the wlan_smart_config_start with the same results.

The interrupt line (and ISR) does work since I have seen multiple interrupts during the work I have done.

I have send other commands (such as reading the MAC address, code version, etc) and they complete as expected.

Both my MSP430 code and the CC3000 code versions match (1.10).

I also tried doing a scan using wlan_ioctl_set_scan_params and wlan_ioctl_get_scan_results which returns the expected wireless access points.  So, I know that the CC3000 and antenna combination works and can communicate with the outside world.

The only thing that appears not to be working at this point is the smart config.

Thanks,

Brent

  • Hi Brent,

    I have a few questions:.

    1. Which smartconfig application are you using on your smartphone? 

    2. When you call wlan_smart_config_start(1), do you also make sure to enable the "encryption" checkbox in your smartconfig application?

    3. Did you program V1.10 version yourself? If the CC3000 FW pataches are not programmed as well, the smartconfig process will not succeed. Both driver/network and firmware patches must be programmed to the device. I even recommend upgrading to V1.11 if that's feasible at your side. It has major improvements on how quick the process goes.

    4. Which platform are you using? Do you have TI's MSP kit? If yes, you can try our demo first on that platform, but before make sure your module is programmed correctly.


    Regards,

    Tomer