979fce0df5
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. |
||
---|---|---|
.. | ||
main | ||
Makefile | ||
README.md |
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.