wifi long range mode (MODE_LR) is not working
Port, board and/or hardware
Waveshare ESP32-S3-ZERO
MicroPython version
MicroPython v1.24.0 on 2024-10-25; Generic ESP32S3 module with ESP32S3
Reproduction
I have been unable to set the long range mode of wifi using micropython.
Either I can't read, or the documentation is lacking, or the feature does not work. Here is the code I tried :
import network
sta = network.WLAN(network.STA_IF)
sta.active(True)
sta.config(protocol=network.MODE_LR)
Expected behaviour
I expect this to set the LR mode that is available on Espressif devices.
Observed behaviour
Nothing changes, the mode is not set.
print(sta.config("protocol")) reports 8 or 1 when I use MODE_LR or MODE_11B respectively, but anything else throws a 'module' object has no attribute 'MODE_11G', for example. And the link quality does not change
Additional Information
No response
Code of Conduct
Yes, I agree
wifi channel selection in access point mode is ignored
Port, board and/or hardware
Waveshare ESP32-S3-ZERO
MicroPython version
MicroPython v1.24.0 on 2024-10-25; Generic ESP32S3 module with ESP32S3
Reproduction
Here is the code I use to test :
import network
wlan = network.WLAN(network.AP_IF)
wlan.active(True)
wlan.config(ssid='potato',password='password',channel=6)
while True
print(wlan.config('channel'))
Expected behaviour
I expect this code to create an access point that will be on channel 6.
Observed behaviour
The returned print command indicates the channel is "1", and a wifi scanner also confirms the access point is being broadcasted on channel 1.
Additional Information
No response
Code of Conduct
Yes, I agree