8000 esp32/modnetwork: dlocumentation for WLAN.wifi_ps() · micropython/micropython@8696dc6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8696dc6

Browse files
committed
esp32/modnetwork: dlocumentation for WLAN.wifi_ps()
1 parent a482c36 commit 8696dc6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/library/network.WLAN.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,15 @@ Methods
133133
dhcp_hostname The DHCP hostname to use
134134
reconnects Number of reconnect attempts to make (integer, 0=none, -1=unlimited)
135135
============= ===========
136+
137+
.. method:: WLAN.wifi_ps(mode)
138+
WLAN.wifi_ps()
139+
140+
Sets (when called with a parameter) or gets the ESP32 WLAN power save mode.
141+
For details, please see the ESP-IDF WIFI documentation at https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html
142+
143+
The parameter mode may be one of the constants
144+
145+
* ``network.WIFI_PS_NONE``
146+
* ``network.WIFI_PS_MIN_MODEM``
147+
* ``network.WIFI_PS_MAX_MODEM``

0 commit comments

Comments
 (0)
0