https://github.com/tobymurray/esp32_temp_and_humidity
https://github.com/tobymurray/esp32_temp_and_humidity
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tobymurray/esp32_temp_and_humidity
- Owner: tobymurray
- Created: 2019-03-09T17:58:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-10T21:52:08.000Z (about 6 years ago)
- Last Synced: 2024-12-30T04:18:32.902Z (5 months ago)
- Language: C
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.