nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.68k stars 3.13k forks source link

Added espnow module with documentation. #3644

Closed jmattsson closed 8 months ago

jmattsson commented 8 months ago

Fixes #2924, at least for the ESP32 range.

This is a pretty straight-forward module implementation of the regular ESP-NOW API. Tested on ESP32-C3, but should be board agnostic.

@pjsg, quick review if you have the time, please? @marcelstoer, could you please check I did the docs properly? It's been a while since I was active...

marcelstoer commented 8 months ago

Here's what I found, pls verify. 0001-Docs-clean-up.patch

jmattsson commented 8 months ago

Thanks Marcel!

I'll keep the small non-espnow updates out of this PR, and will probably just push them directly later 👍

jmattsson commented 8 months ago

Alright, I'm making an executive decision and will merge this. I'm working on getting support for the C6 and H2 into the build, and this will collide with that so I'd rather just land this now and make life easier for everyone. Well, myself at least :D You may yell at me later if you object!

poorandunlucky commented 7 months ago

espnow works on esp8266, too...