Function esp_idf_svc::sys::esp_now_get_peer_num

source ยท
pub unsafe extern "C" fn esp_now_get_peer_num(
    num: *mut esp_now_peer_num,
) -> i32
Expand description

@brief Get the number of peers

@param num number of peers

@return - ESP_OK : succeed - ESP_ERR_ESPNOW_NOT_INIT : ESPNOW is not initialized - ESP_ERR_ESPNOW_ARG : invalid argument