Security ESP-NOW between ESP01 and ESP32

dvpedvpe
Posts: 1
Joined: Fri Mar 04, 2022 10:15 am

Security ESP-NOW between ESP01 and ESP32

Postby dvpedvpe » 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:

Code: Select all

esp_now_add_peer(mac,role,channel,key,size) 
--> 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.

Who is online

Users browsing this forum: No registered users and 96 guests