2017-03-27 05:52:46 -04:00
# Wifi WPS Example
2018-03-23 03:41:59 -04:00
This example shows how to use wps enrollee in esp32.
2017-03-27 05:52:46 -04:00
2018-03-23 03:41:59 -04:00
Now we support to use enrollee feature in STA and APSTA mode.
2017-03-27 05:52:46 -04:00
2017-03-29 03:33:05 -04:00
* PBC_MODE: Start esp32 and press the wps button on router, Then esp32 will get the ssid& password by wps PBC mode.
2017-03-27 05:52:46 -04:00
2017-03-29 03:33:05 -04:00
* PIN_MODE: Start esp32, It will enter wps mode and you'll see a pin code showing by COM. Enter this pin code in router and the esp32 can get ssid& password by wps PIN mode.
2017-03-27 05:52:46 -04:00
More info in the code [wps.c ](./main/wps.c ).