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 WPS Application
Overview and application details[edit]
This is a sample application demonstrating how to use WPS Wi-Fi provisioning with CC3100. The application provisions the device to a Wi-Fi network using the two options available w/ WPS:
- Push button
- PIN code
Note: 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]
- Choose an AP that supports Wi-Fi provisioning using WPS (w/ Push-Button and Pin-Code methods).
- Connect the board to a Windows-PC and configure the terminal-program for seeing the logs - [| CC31xx_&_CC32xx_Terminal_Setting_Wiki] has detailed instructions for configuring the terminal-program
- Build the application. Download and execute it on the target device.
On running the application, the device waits for a connection using the WPS (PushButton) mode.
- Connect a Smartphone/Laptop to the AP and open the AP webpage
- Press the WPS Push-Button on the AP for starting the connection process. The connection can as well be initiated from the AP's webpage (if supported)
On a successful connection, the device disconnects from the AP and waits for a connection to be established using the WPS Pin-Code mode
- Enter the PIN Code 35072317 in the webpage of AP to establish a WPS connection
Note: Application getting stuck in below loop indicates a failed connection
while (!(g_Status & IP_ACQUIRED ) || !(g_Status & CONNECTED)) { _SlNonOsMainLoopTask(); }
- See the self explanatory logs on the terminal-program's console. On success, below message will be displayed on the terminal
Limitations/Known Issues[edit]
None
Links[edit]
{{#invoke: Navbox | navbox }} {{#invoke: Navbox | navbox }}