OVMS3-idf/examples/wifi/power_save
2019-04-11 12:32:03 +08:00
..
main examples/wifi: use esp_event library to handle events 2019-04-11 12:32:03 +08: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 remove executable permission from source files 2018-05-29 20:07:45 +08:00
sdkconfig.defaults examples/wifi/power_save: enable tickless idle 2018-05-18 03:14:46 +00:00

Wifi Power Save Example

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

Power save mode only works in station mode. If the modem sleep mode is enabled, station will switch between active and sleep state periodically after connecting to AP successfully. In sleep state, RF, PHY and BB are turned off in order to reduce power consumption. Station can keep connection with AP in modem sleep mode.

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

  • Minimum modem sleep: In minimum modem sleep mode, station wakes up every DTIM to receive beacon. Broadcast data will not be lost because it is transmitted after DTIM. However, it can not save much more power if DTIM is short for DTIM is determined by AP.

  • Maximum modem sleep: In maximum modem sleep mode, station wakes up every listen interval to receive beacon. Broadcast data may be lost because station may be in sleep state at DTIM time. If listen interval is longer, more power is saved but broadcast data is more easy to lose.

  • others: not supported yet.