-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESPnow long range mode selection fails #9790
Comments
In arduino, I think the correct method to set long range mode is this : Is this exposed method in Circuitpython? |
I don't find I think the rates 0x10-0x1F require 802.11ax, which is only supported so far in the WiFi-6 ESP32 variants: C5, C6. (in the absence of any Python exceptions... if you custom build with |
I would not know where to start to build it myself. Micropython code for reference, with initialization sequence as per the Micropython documentation :
Not sure if this actually works, my range test is inconclusive, but at least, I don't get any error messages from the IDE. |
Here is un updated Micropython version that looks more correct (in how it behaves on my hardware at least) :
|
Well, In all my testing, I was able to set the LR mode once, but I can't figure out how. I was not able to get out of it without re-flashing the ESP32. It looks like this setting "sticks" in the firmware. I leave this here for reference, in case someone else is fighting with this issue. |
I'd suggest asking on the MicroPython Discord server, and if that doesn't pan out, file an issue on the MicroPython Gituhb repo. |
Done : micropython#16179 |
Well, |
The ESP-NOW feature was added by a community member, so there's no guarantee it will get an enhancement any time soon. If you are inclined to develop the enhancement yourself, you can get help on Adafruit's Discord server. You could even prove it out first using Espressif's esp-idf environment, with their example. |
Sorry, I won't be able to do it, I'm just a simple user trying to make a device do what I want it to do, I'm not a developer. I was trying to avoid using Arduino and having to wait for a build everytime I change a coma, because I don't really know how to write code. Circuitpython or micropython looked attractive to me because of this. |
CircuitPython version
Code/REPL
Behavior
When selecting integer 31 upon creation of the ESPNow object (which should be selecting line 626 here https://github.com/espressif/esp-idf/blob/a9d0f22193acdf47a5a4db36832ae7068818962b/components/esp_wifi/include/esp_wifi_types.h#L626), communication fails between 2 Waveshare ESP32-S3-zero devices. In fact, selecting any mode between 16 and 32 fails.
Description
No response
Additional information
No response
Edit : typo
The text was updated successfully, but these errors were encountered: