-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add ESP-NOW library #2227
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
Comments
Is there any documentation available somewhere because I need to learn how the encryption of the messages sent works? |
There is a prototype code at https://github.com/HarringayMakerSpace/IoT/tree/master/ESP-Now The Espressif's documentation is https://espressif.com/sites/default/files/documentation/esp-now_user_guide_en.pdf The Espressif's API are listed at https://espressif.com/sites/default/files/documentation/2c-esp8266_non_os_sdk_api_reference_en.pdf |
I have explained all the functions with examples at http://www.esploradores.com/practica-6-conexion-esp-now/ Its in Spanish. I´m sorry. |
@igrr The linked guide is actually not bad, It could be condensed into a document and examples could be built using the code there as basis. |
I made an ESP-NOW library. You may try it while waiting for the official library. |
@igrr @d-a-v I briefly looked at @yoursunny 's implementation. I would request several changes, but overall it looks sound. |
Linking to this library from libraries.rst sounds like a good first approach. The library can be easily installed via boards manager. If one of the contributors becomes familiar enough with the library (to be able to debug issues with it), then pulling it into the project might be justified. |
It's very easy to do basic ESP now with a simple #include <espnow.h> (extern C) . Works quite nice, as long there's no special crypto involved. There seems to be a bug in Espressif 's core allowing controllers to send unencrypted messages even IF the slave sets it's peer to a special crypto key. |
Add an Arduino-style wrapper around ESP-NOW library and at least some documentation explaining what ESP-NOW is.
The text was updated successfully, but these errors were encountered: