Function esp_idf_sys::esp_now_get_peer
source ยท pub unsafe extern "C" fn esp_now_get_peer(
peer_addr: *const u8,
peer: *mut esp_now_peer_info_t,
) -> esp_err_t
Expand description
@brief Get a peer whose MAC address matches peer_addr from peer list
@param peer_addr peer MAC address @param peer peer information
@return - ESP_OK : succeed - ESP_ERR_ESPNOW_NOT_INIT : ESPNOW is not initialized - ESP_ERR_ESPNOW_ARG : invalid argument - ESP_ERR_ESPNOW_NOT_FOUND : peer is not found