NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

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[edit]

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\

Usage[edit]

  • 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
Provisioning_smartconfig_1.png

Limitations/Known Issues[edit]

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

Links[edit]

{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3100 Provisioning Smart Config here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article CC3100 Provisioning Smart Config here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3100 Provisioning Smart Config here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3100 Provisioning Smart Config here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3100 Provisioning Smart Config here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3100 Provisioning Smart Config here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3100 Provisioning Smart Config here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3100 Provisioning Smart Config here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3100 Provisioning Smart Config here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity