Skip to content

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

Closed
igrr opened this issue Jul 4, 2016 · 8 comments
Closed

Add ESP-NOW library #2227

igrr opened this issue Jul 4, 2016 · 8 comments

Comments

@igrr
Copy link
Member

igrr commented Jul 4, 2016

Add an Arduino-style wrapper around ESP-NOW library and at least some documentation explaining what ESP-NOW is.

@vanjo9800
Copy link

Is there any documentation available somewhere because I need to learn how the encryption of the messages sent works?

@roboticboyer
Copy link

roboticboyer commented Aug 5, 2016

@ESPlorador
Copy link

ESPlorador commented Jan 7, 2017

I have explained all the functions with examples at http://www.esploradores.com/practica-6-conexion-esp-now/

Its in Spanish. I´m sorry.

@devyte
Copy link
Collaborator

devyte commented Oct 17, 2017

@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.
However, I somehow don't see this making into 2.4.0. I suggest pushing it back.

@igrr igrr modified the milestones: 2.4.0, 2.5.0 Oct 17, 2017
@yoursunny
Copy link
Contributor

I made an ESP-NOW library. You may try it while waiting for the official library.
https://github.com/yoursunny/WifiEspNow

@devyte
Copy link
Collaborator

devyte commented Jan 3, 2018

@igrr @d-a-v I briefly looked at @yoursunny 's implementation. I would request several changes, but overall it looks sound.
How should this be handled? Possibilities:
-we integrate it into our libs
-we add it as a subrepo, similar as SoftwareSerial
-we just document the existence of the external repo and point to it

@igrr
Copy link
Member Author

igrr commented Jan 3, 2018

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.

@mischmerz
Copy link

mischmerz commented Jul 6, 2018

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.

See espressif/ESP8266_NONOS_SDK#141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants