Closed inovatorius closed 1 year ago
Thanks for noting this. It is a known issue that the esp8266 SDK does not enforce registering peer devices before send(). I have read ambiguous docs about this for the esp8266, and it is enforced in the IDF (ESP32 and variants).
I will update the micropython docs to clarify.
Hey!
I am developing ESP-NOW event system around
uasyncio
and finally got my hands to report this issue (or more like convenient feature).On ESP8285
add_peer()
has no effect. I can send messages to a peer STA/AP MAC address without usingadd_peer()
. I used the example according the https://github.com/glenn20/micropython/blob/espnow-g20/docs/library/espnow.rstI am using custom build of espnow-g20-v1.20.0 branch. Maybe there are some differences in ESP8285 SDK or something?