Function esp_idf_sys::esp_wifi_config_espnow_rate

source ยท
pub unsafe extern "C" fn esp_wifi_config_espnow_rate(
    ifx: wifi_interface_t,
    rate: wifi_phy_rate_t,
) -> esp_err_t
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