2017-03-27 09:52:46 +00:00
# Wifi WPS Example
2018-03-23 07:41:59 +00:00
This example shows how to use wps enrollee in esp32.
2017-03-27 09:52:46 +00:00
2018-03-23 07:41:59 +00:00
Now we support to use enrollee feature in STA and APSTA mode.
2017-03-27 09:52:46 +00:00
2017-03-29 07:33:05 +00: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 09:52:46 +00:00
2017-03-29 07:33:05 +00: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 09:52:46 +00:00
More info in the code [wps.c ](./main/wps.c ).