mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
6e0d274f58
function calls so it won't be skipped if compiled without asserts
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.