ESPNow half broken on ESP8266 (1MB) ?? #19228
Unanswered
osodrac-lab
asked this question in
Using MicroPython
Replies: 1 comment 1 reply
-
|
Perhaps worth studying this doc, in particular the section on power saving modes which talks about reception problems. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi all, first kudos to the MP team for an amazing project !
I am building a weather station using ESPNow for data exchange between
I can send data in the ESP8266 --> ESP32 direction
but not in the other direction : on the ESP32 board,
the call
e.send(peer, data, sync)returns immediatelywith value
Falseand the other side (ESP8266) waits forever ine.recv().I am using verbatim the sample code at the top of the doc page
https://docs.micropython.org/en/v1.28.0/library/espnow.html#introduction
which runs flawlessly at first try in one direction, but NOT in the other.
I have triple-checked (for some large value of 3) the MAC addresses
and the radio channels (but remember it works in one direction).
Maybe it is due to the fact that the ESP8266 board having
only 1MB flash, is running a stripped down espnow module :
dir(espnow) shows a reduced set of functions.
Is this a known problem with ESPNow on ESP8266/1MB ?
I checked https://github.com/orgs/micropython/discussions
without success.
Thanks !
Board refs:
ESP8266 : https://en.01studio.cc/micropython/pyWiFi-ESP8266/pyWiFi-ESP8266.html
ESP32 : https://www.dfrobot.com/product-2771.html
Beta Was this translation helpful? Give feedback.
All reactions