Function esp_idf_hal::sys::esp_now_set_pmk
source ยท pub unsafe extern "C" fn esp_now_set_pmk(pmk: *const u8) -> i32
Expand description
@brief Set the primary master key
@param pmk primary master key
@attention 1. primary master key is used to encrypt local master key
@return - ESP_OK : succeed - ESP_ERR_ESPNOW_NOT_INIT : ESPNOW is not initialized - ESP_ERR_ESPNOW_ARG : invalid argument