Replies: 1 comment 3 replies
-
Have you tried this?
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am trying to disable powersaving mode on wifi but it doesn't seem to exist in the WLAN function as described.
import network
sta = network.WLAN(network.STA_IF)
sta.active(True)
sta.connect("West3")
sta.config(pm=PM_NONE)
sta.ifconfg()
The error I receive is :
Traceback (most recent call last):
File "", line 5, in
NameError: name 'PM_NONE' isn't defined
Board Firmware Info:
MicroPython v1.20.0 on 2023-04-26; ESP32 module with ESP32
Beta Was this translation helpful? Give feedback.
All reactions