ESP-NOW help with encryption (PMK/LMK)
Posted: Mon Oct 07, 2019 6:20 pm
Hi,
I have to do a module for a project and security is needed. I want to encrypt the communication.
I've read the docs and I can't make the esp_now_peer_info_t::encrypt work.
I've made a peers on both sides (master/slave), put the same peer LMK, put the same PMK, set the slave into APSTA mode.
when I put , the Master says the message sent was successful but the slave does not receive it.
Can someone guide me through how encryption work?
I have to do a module for a project and security is needed. I want to encrypt the communication.
I've read the docs and I can't make the esp_now_peer_info_t::encrypt work.
I've made a peers on both sides (master/slave), put the same peer LMK, put the same PMK, set the slave into APSTA mode.
when I put
Code: Select all
slave.encrypt = true
Can someone guide me through how encryption work?