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 AP
Contents
Overview and Application details[edit]
This user guide describes all the steps needed to use this example, in which the CC3100 device is used in conjunction with a Wi-Fi enabled mobile device running an application (in this case Simplelink Wi-Fi Starter Pro) and allowing it to connect to the Wi-Fi network.
Note: This wiki page is only applicable for CC3100-SDK v1.2.0 and upward releases. For documentation on older SDKs' examples, refer corresponding file in<cc3100-sdk-installation-location>\cc3100-sdk\docs\examples\
The TI SimpleLink Starter Pro application can be downloaded from the App Store (iOS) or Google play (Android).
Note: There are two versions of the SimpleLink Wi-Fi starter applications on the Play Store. Please make sure to choose the “Pro” version.
Prerequisites[edit]
- CC3100 SDK: http://www.ti.com/tool/cc3100sdk
- Provisioning Add-on for CC3100 SDK: http://www.ti.com/tool/cc3100sdk
- Simplelink Wi-Fi Starter Pro mobile application for Android and iOS http://www.ti.com/tool/wifistarterpro
- The CC3100 Boosterpack and MSP430F5529
- The CC31XXEMUBOOST (for flashing the servicepack if you haven't already done so)
- An 802.11b/g/n wireless router
- An Android or iOS device with WiFi connectivity
Setup Environment[edit]
Provisioning set up is illustrated in the picture below. It consists of the SimpleLink Wi-Fi device (CC3100 with a MSP430FR5529 host) being provisioned, a smart phone (Android or iPhone) with TI SimpleLink Starter Pro Application installed and an access point/router (for connection to the Internet).
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. Please refer CC3100 Getting started Guide for terminal connection. This provisioning application, works only with SDK1.2
- Install the 'provisioning add-on package' to the SDK1.2. The 'add-on' installs, provisioning library and the provisioning application. (The below pictures show the installation for CC3100 SDK with a MSP430FR5529 host).
- Open CCS workspace, import the provisioning library and application for host platform (C:\TI\CC3100SDK_1.2.0\cc3100-sdk\platform\msp430f5529lp), as illustrated below.
- Build provisioning library, followed by the provisioning application:
- After the application is built, either flash or load the application from CCS and run. The application configures the device in SimpleLink Provision mode. The device will then wait for the SimpleLink Starter Pro application to provision it to a Wi-Fi network.
- Run TI SimpleLink Starter Pro Application on your Smartphone
- Configuration page pops up, on the smart phone. Select the drop-down menu for ‘Device to configure’ and select the SimpleLink device to configure.
By default, the page displays all the access points with the name beginning with "mysimplelink-". If the device to be provisioned is named differently, select "Show all", which shows all the access points in the vicinity. And, now select the SimpleLink device to be provisioned. This takes us back to the Configuration page.
- The next step is to select/configure the Wi-Fi network and optionally name the device. Select the drop-down menu ‘Wi-Fi network’.
If the pop-up page does not show all the Wi-Fi routers, select ‘Show all’, this makes the SimpleLink Wi-Fi device, to send the complete scan list to the phone app.
Select the Wi-Fi router and enter the Wi-Fi network authentication type and password. Press 'Start Configuration' button to start the provisioning process. Several status messages are displayed on the screen, as the provisioning process continues.
- If provisioning has succeeded, ‘Provisioning Successful’ shows up.
- In the event of failure, please check the following:
- Ensure that the password and SSID entered for the access point are correct.
- The SimpleLink device is in Provisioning mode.
- The phone (with the running provisioning app) and the device are within the AP range.
- Check the console for error messages, and send the error logs using the phone app.
In the event of failure, try couple of time by Resetting the device (For 'Reset' button location, please refer to the CC3100 Quick Start Guide)
- On success, user can check that the device is listed in the ‘Devices’ page of the phone application and connect to it.
- See the logs on the terminal-program's console. On success, below message will be displayed on the terminal
Limitations/Known Issues[edit]
- AP SSID must not have previously been configured. If CC3100 as AP SSID has already been configured, use Uniflash to either reformat the device or rename ssid to the default value.
Deprecated Example[edit]
CC31xx Provisioning AP (Deprecated)
Links[edit]
{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}