Staging:CC3200 Out of Box Application

Overview
This Application demonstrates Out of Box Experience with CC3200 Launch Pad. It highlights the following features


 * 1) Easy Connection to CC3200 Launchpad
 * 2) *Direct Connection to Launchpad by using CC3200 device in Access Point Mode(Default)
 * 3) *Connection using TI WiFi Starter Pro
 * 4) Easy access to CC3200 Using Internal HTTP server and on-board webcontent
 * 5) Attractive Demos
 * 6) *Home Automation
 * 7) *Appliance Control
 * 8) *Security System
 * 9) *Thermostat

For more information please refer CC32xx Quick Start Guide

Usage

 * The CC3200 Launchpad comes with all the required content flashed to run the application.
 * Refer to the Quick Start Guide for detailed information.
 * In case user flashed other SDK applications and need to download the out of box content again, follow the below steps:
 * Ensure that the CC3200 Launchpad is formatted to 1MB and that the latest servicepack is programmed to the device.
 * Open \examples\out_of_box\html\out_of_box.ucf session file in Uniflash.
 * Ensure that SOP2 jumper is connected and flash the files to the device. Detailed instructions at Uniflash User Guide.


 * Run the reference application
 * Run from IDE (IAR/CCS)
 * Open the Example Project as mentioned in the \docs\CC3200-Getting Started Guide.pdf.
 * Build and download the application to the board.
 * Run from Flashed Binary
 * Remove SOP-2 Jumper on Board and Press Reset. Refer to \docs\CC3200-Getting Started Guide.pdf for detailed Information.
 * Connect to CC3200 device as mentioned in Quick Start Guide.


 * In case device is coming up as AP (Jumper on VCC+P58), check the terminal prints to get to know device's AP name and IP address.

Case 1 - AP Mode
 * CC3200 device will boot in AP Mode. It will print its SSID and HTTP Server domain name in UART Terminal and the red LED should blink 3 times.
 * User needs to connect its WIFI enabled device PC/MAC/Smartphone to the device AP (Default SSID: mysimplelink-MACAddr).
 * User opens the browser and type mysimplelink.net\main.html in browser URL field.
 * Browser displays the main page. As can be seen, there are some informative tabs and also the Demos Tab to demonstrate how to control the onboard sensors. You can also notice the device status which can be either online or offline. Online means that the connected gateway has an internet access (which is relevant only in cases where the CC3200 is connected to an AP.



Case 2 - STA Mode
 * Install TI WiFi Starter Pro Application on your Smartphone.
 * User needs to provision the device using AP provisioning. The procedure is a little different for Android and iOS, where additional steps are required for iOS. To provision the device using iOS, the following steps need to be followed:
 * Connect your Smartphone to the selected AP.
 * Launch TI WiFi Starter Pro Application. [[Image:provisioning main page.png|center|300px|provisioning main page.png]]
 * Click the Device to configure and follow the pop up message to direct you to the WiFi Settings. Choose your device SSID starting with mysimplelink- and concatenated with a portion of the MAC address. [[Image:provisioning choose device to configure.png|center|300px|provisioning choose device to configure.png]]
 * If the name of the network for provisioning is not automatically shown in WiFi Network field, click the drop down and pick the desired network from the list. Enter the Network Password in case it is a secured network. For open network, leave the 'Password' field blank. [[Image:provisioning fill credentials.png|center|300px|provisioning fill credentials.png]]
 * The name of the device is filled automatically but can be modified. This will be used to identify your device.
 * Press START CONFIGURATION button to start the procedure.
 * Once the provisioning process is completed, a pop-up windows shows up to indicate that the new device is connected to the network. [[Image:provisioning successful.png|center|300px|provisioning successful.png]]
 * Once provisioning is Successful, CC3200 device will connect to the AP and print its IP address on UART Terminal as shown below. Also note the messages indicating the start and finish points for the provisioning.

In case the device has been provisioned at least once, the profile is stored on the serial flash and the device should connect automatically upon reset as shown below.

Demos
Go to Demo Tab. Click/Press on the icons to see the demo

Turn the Switch ON/OFF and Check the Red LED(D7) on Launchpad

Check temperature from Inbuilt temperature Sensor on Launchpad. Move the Launchpad and check Dryer status

Turn on the Switch. Move the Launchpad and check Alarm

Change the temperature slider and check the RED LED (D7)

Limitations/Known Issues
None