Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

CC3100 Provisioning Smart Config

From Texas Instruments Wiki
Jump to: navigation, search
Cc31xx cc32xx return home.png
Cc31xx return sample apps.png

Overview and application details

This is a sample application demonstrating how to provision CC3100 to a Wi-Fi network using SmartConfig.

Warning Warning: SmartConfig™ cannot provision embedded systems in all circumstances. Therefore, products should not go to production implementing only SmartConfig™. Access Point mode or WPS should be implemented and be used as a backup in case SmartConfig™ fails to provision the system.

What is SmartConfig? A first step in utilizing CC31xx in a Wi-Fi enabled application is to configure CC3100 to a user's Wi-Fi network. This requires information on the AP, or SSID name, and the security passcode when WEP/WPA/WPA2 is enabled. Considering that embedded Wi-Fi applications will generally lack user interfaces such as keypads or touchscreens, this process can be complex without the use of advanced I/O.

To create a great user experience, TI has created SmartConfig technology - a one-step and one-time process to connect a CC31xx-enabled device to the home wireless network. This greatly stands apart from other Wi-Fi suppliers who require multiple steps to configure a device onto the network.

SmartConfig leverages the standard mechanisms present in Wi-Fi to configure a CC31xx's association information on the fly, regardless of whether the user-interface is available. In this process a Wi-Fi enabled device such as a smartphone, tablet or a laptop is used to send the association information to the CC31xx.

Addtionally, SmartConfig does not depend on the host microcontroller's I/O capabilities, thereby usable by deeply embedded applications. It can be used to associate multiple devices to the same AP simultaneously. The Configuration process is secured with AES-128 encryption, and the SSID and KEY length are supported up to 32 bytes.

And furthermore, the device used to configure (smartphone, tablet, or PC) stays connected to the user's home network during the configuration process (as opposed to other methods that require disconnection).

NoteNote: This wiki page is only applicable for CC3100-SDK v1.0.0 and upward releases. For documentation on older SDKs' examples, refer corresponding file in <cc3100-sdk-installation-location>\cc3100-sdk\docs\examples\


  • Connect the board to a Windows-PC and configure the terminal-program for seeing the logs - CC31xx & CC32xx Terminal Setting has detailed instructions for configuring the terminal-program
  • Build and run the application.

OOB Net step2 BP.png

OOB Net step3 BP.png

OOB Net step4 BP.png

OOB Net step5 BP.png

  • See the logs on the terminal-program's console. On success, below message will be displayed on the terminal

Limitations/Known Issues

  • To access the website the user is prompted for a username + password. These are both: "admin"