Security ESP-NOW between ESP01 and ESP32
Posted: Fri Mar 04, 2022 10:19 am
Hi,
I have an installation working very good and now I would like "to play" with security.
My use case is: I have multiple master sending information to one slave.
My masters are ESP01 and my slave is ESP32.
I am having problem when try to use key to encrypt the message.
The main part of the code:--> when KEY is NULL, everything is OK. when KEY has value, the receiver (esp32) doesn't receive anything.
Is it possible to connect ESP01 and ESP32 using esp-now with security? Does somebody check this feature?
Thanks in advance.
I have an installation working very good and now I would like "to play" with security.
My use case is: I have multiple master sending information to one slave.
My masters are ESP01 and my slave is ESP32.
I am having problem when try to use key to encrypt the message.
The main part of the code:
Code: Select all
esp_now_add_peer(mac,role,channel,key,size)
Is it possible to connect ESP01 and ESP32 using esp-now with security? Does somebody check this feature?
Thanks in advance.