OVMS3-idf/examples/wifi/wps
Ivan Grokhotkov 979fce0df5 bt: call nvs_flash_init in examples, show error if NVS is not initialized
NVS is used to store PHY calibration data, WiFi configuration, and BT
configuration. Previously BT examples did not call nvs_flash_init,
relying on the fact that it is called during PHY init. However PHY init
did not handle possible NVS initialization errors.

This change moves PHY init procedure into the application, and adds
diagnostic messages to BT config management routines if NVS is not
initialized.
2017-07-17 21:29:50 +08:00
..
main bt: call nvs_flash_init in examples, show error if NVS is not initialized 2017-07-17 21:29:50 +08:00
Makefile example: adding wifi example wps and power save. 2017-03-31 16:12:58 +08:00
README.md wps_ps: Add new options to menuconfig, modify README and some explainations. 2017-03-31 16:12:58 +08:00

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 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.