Arduino: Add ESP-NOW library

Created on 4 Jul 2016  路  8Comments  路  Source: esp8266/Arduino

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

documentation libraries

Most helpful comment

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

Its in Spanish. I麓m sorry.

All 8 comments

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

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

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

@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

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 (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 https://github.com/espressif/ESP8266_NONOS_SDK/issues/141

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eliabieri picture eliabieri  路  3Comments

Chagui- picture Chagui-  路  3Comments

rudydevolder picture rudydevolder  路  3Comments

hoacvxd picture hoacvxd  路  3Comments

tttapa picture tttapa  路  3Comments