Function esp_idf_sys::esp_now_get_peer_num
source ยท pub unsafe extern "C" fn esp_now_get_peer_num(
num: *mut esp_now_peer_num_t,
) -> esp_err_t
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