You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the attributes are available also on the nic instance: is it wanted or is just a leftover from the past ?
This is as expected, ie. PM_NONE etc are effectively attributes of the WLAN class, so they will appear as attributes of instances of WLAN as well, so you may just as well use nic.PM_NONE as WLAN.PM_NONE.
esp32: do these attributes make obsolete the previous setting listen_interval ?
I am not aware of a listen_interval setting (I checked back as far as v1.17).
For the esp32, the levels correspond to the setting decribed in the Espressif docs. The default value for the listen_interval when using PM_POWERSAVE is 3 (which can't be changed from micropython). See PR #8993 for more discussion about the pm settings.
Uh oh!
There was an error while loading. Please reload this page.
Checks
I agree to follow the MicroPython Code of Conduct to ensure a safe and respectful space for everyone.
I've searched for existing issues and didn't find any that matched.
Documentation URL
https://docs.micropython.org/en/latest/library/network.WLAN.html
Description
Trying to disable PowerManagement on a esp board acting as client WiFi.
The last doc says:
I tried from REPL:
Questions:
So the attributes are available also on the nic instance: is it wanted or is just a leftover from the past ?
esp32: do these attributes make obsolete the previous setting listen_interval ?
The text was updated successfully, but these errors were encountered: