mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
81f037a299
WPS can send multiple AP credentials, while existing implementation will only use the first credentials which could be for the 5G band. Fix this by passing these credentials to the App and attempting to connect using each of those. Older Apps will remain compatible without breaking WPS, but the issue will remain. |
||
---|---|---|
.. | ||
main | ||
CMakeLists.txt | ||
Makefile | ||
README.md |
Wifi WPS Example
This example shows how to use wps enrollee in esp32.
Now we support to use enrollee feature in STA and APSTA mode.
-
PBC_MODE: Start esp32 and press the wps button on router, Then esp32 will get the ssid&password by wps PBC mode.
-
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.
More info in the code wps.c.