Function esp_idf_svc::sys::esp_wifi_config_espnow_rate
source ยท pub unsafe extern "C" fn esp_wifi_config_espnow_rate(
ifx: u32,
rate: u32,
) -> i32
Expand description
@brief Config ESPNOW rate of specified interface
@deprecated please use esp_now_set_peer_rate_config() instead.
@attention 1. This API should be called after esp_wifi_start(). @attention 2. This API only work when not use Wi-Fi 6 and esp_now_set_peer_rate_config() not called.
@param ifx Interface to be configured. @param rate Phy rate to be configured.
@return
- ESP_OK: succeed
- others: failed