2.3 Wifi Provisioning via WPS
This example compiles the Wifi Provisioning via WPS application which is used to provision a WiFi connection.
Description
In this demonstration, the WINC Driver will move into WPS mode – PIN or PBC. By activating the WPS mode in the AP concurrently, a WiFi connection is established.
Downloading and building the application
To download or clone this application from Github, go to the top level of the repository
Path of the application within the repository is apps/wifi_provisioning_via_wps/firmware .
To build the application, refer to the following table and open the project using its IDE.
Project Name | Description |
---|---|
sam_d21_xpro_winc3400.X | MPLABX project for SAMD21 and WINC3400 Xplained pro |
Setting up SAMXXX Xplained Pro board
- Connect the Debug USB port on the SAMXXX Xplained Pro board to the computer using a micro USB cable
Running the Application
- Open the project.
- Build and program the generated code into the hardware using its IDE.
- On the connected computer, launch a terminal application and configure it with the following settings: Baud Rate: 115200 Data Bits: 8 Parity: None Stop Bits: 1 Flow Control: None
- Press the switch SW0 to provision the WINC device using WPS.