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.

CC3200 Provisioning WPS Application

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

Overview[edit]

The example code demonstrates how to use WPS Wi-Fi provisioning with CC31xx. It demonstrates two options available to be used with WPS:

  • "Push button"
  • "PIN code"

Application details[edit]

The application performs the following steps:

  • Initializes the device networking layers.
  • The AP SSID is "cc3200demo". The SSID can be changed by changing the macro
#define SSID_NAME "cc3200demo" 
  • Initiates connection to WLAN AP with WPS security, using Push Button method.
  • Once connected, the RED LED turns ON.
  • After a delay, the application disconnects from the AP. The the RED LED is turned OFF.
  • Initiates connection to WLAN AP with WPS security, using PinCode method. The default pin code is 88664422.
  • Once connected, the RED LED turns ON.
  • After a delay, the application disconnects from the AP. The the RED LED is turned OFF.

Source Files briefly explained[edit]

gpio_if - Basic GPIO interface APIs. Used to control the RED LED.
main - Initializes the device, connects to a AP using WPA (PushButton), disconnects from AP, connects to a AP using WPA (PinCode), disconnects from AP
pinmux - Assigns a personality to the pins at the device boundary
startup_* - Tool specific vector table implementation

Usage[edit]

  1. Choose an AP that supports WiFi provisioning using WPS (Push Button as well as Pin Code).
  2. Connect to the AP from a laptop and open the AP webpage (For ex., http://192.168.1.1 and then entering the admin-password details).
  3. Run the reference application (Flashing the bin/IAR/CCS).
    • Open the Project as mentioned in the 'docs\CC3200-Getting Started Guide.pdf'
    • Build and download the application to the board
  4. On running the application, the device waits for a connection using the WPS (PushButton) mode.
  5. Press the WPS pushbutton on the AP. This can also be simulated on the webpage of the AP (if supported).
  6. Once connected, the RED LED turns ON. After a while the RED LED turns OFF after disconnecting from the AP.
  7. Now the device waits for a connection using the WPS (Pin code) mode.
  8. Enter the PIN Code 88664422 in the webpage of AP to establish a WPS connection.
  9. Once connected, the RED LED turns ON. After a while the RED LED turns OFF after disconnecting from the AP.

Limitations/Known Issues[edit]

None.

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 CC3200 Provisioning WPS Application 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 CC3200 Provisioning WPS Application here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3200 Provisioning WPS Application here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3200 Provisioning WPS Application here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3200 Provisioning WPS Application here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 Provisioning WPS Application here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 Provisioning WPS Application here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3200 Provisioning WPS Application here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3200 Provisioning WPS Application 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