HarringayMakerSpace / ESP-Now

ESP-Now Examples
301 stars 48 forks source link

ESP-NOW encryption #6

Open Tareq-Sulaiman opened 6 years ago

Tareq-Sulaiman commented 6 years ago

First of all, thank you for the good work you provide. This is not an issue in your code, but this is the only I found to contact you, so my apologies for that. There seems to be a lack of information in the documentation about how to set a key for the communication in ESP-NOW. I have tried everything, and it doesn't seem to work, when I add the key the send callback still registers a value 0 for the status register, which implies that the receiver should receive data properly, yet it is not happening. So have you tried using a key? And if I use a NULL key does the data get sent unencrypted? or does it get encrypted but with a default key. Thank you!

torntrousers commented 6 years ago

I have not yet tried the encryption functions sorry. I'll give it a go when I have some time.

torntrousers commented 6 years ago

https://github.com/espressif/ESP8266_NONOS_SDK/issues/114