esp_now_set_pmk() function
Set the primary master key @attention 1. primary master key is used to encrypt local master key
Return value
- ESP_OK : succeed - ESP_ERR_ESPNOW_NOT_INIT : ESPNOW is not initialized - ESP_ERR_ESPNOW_ARG : invalid argument
Examples
esp_now_set_pmk() is referenced by 1 libraries and example projects: