esp-idf/examples/wifi/wps
David Cermak 31b2702387 esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
..
main esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK() 2019-12-17 09:07:49 +01:00
CMakeLists.txt cmake: make main a component again 2018-09-11 09:44:12 +08:00
Makefile example: adding wifi example wps and power save. 2017-03-31 16:12:58 +08:00
README.md feature/support WPS enrollee in APSTA mode 2018-03-23 15:41:59 +08:00

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.