kopia lustrzana https://github.com/espressif/esp-idf
12 wiersze
443 B
Markdown
12 wiersze
443 B
Markdown
|
# Wifi WPS Example
|
||
|
|
||
|
This example shows how to use wps in esp32.
|
||
|
|
||
|
The wps only works in station mode now.
|
||
|
|
||
|
* PBC_MODE: Start esp32 and push the buttom of wps on router, Then esp32 will get the ssid&password by wps PBC mode.
|
||
|
|
||
|
* PIN_MODE: Start esp32, It will inter 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](./main/wps.c).
|