Datasheet

Sample Application Demonstrations
2013 Microchip Technology Inc. Preliminary DS52108A-page 69
4.7.4.2 WPS METHOD: WF_SECURITY_WPS_PIN
In the WF_Config.h file, perform these actions:
1. Define the MY_DEFAULT_WIFI_SECURITY_MODE as
WF_SECURITY_WPS_PIN.
2. Define the MY_DEFAULT_WPS_PIN to be used, and this needs to be an exact
match to the AP/router PIN, for example, 12390212.
3. Define the MY_DEFAULT_SSID_NAME to be same as the AP or router’s SSID.
4. After the development board is powered up and running, the UART output will
display the message shown in Figure 4-49.
FIGURE 4-49: DEVELOPMENT BOARD SERIAL OUTPUT DISPLAY: WPS
PIN METHOD
5. With the software running on the development board, on the AP or router settings
select WPS mode. Enter the PIN number and click Register. These procedures
are similar for different APs or routers.