OVMS3-idf/examples/wifi/power_save
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 Power Save Example

This example shows how to use power save mode of wifi.

Power save mode only works in sta mode.

  • No power save: This is default mode. And the esp32 will work with full power.

  • modem sleep: If you set power save mode as modem sleep, 10s later after connecting to AP, esp32 will wake up and sleep(turn off RF and PHY) periodically.

  • others: not supported yet.