Function esp_idf_svc::sys::esp_wifi_set_csi

source ยท
pub unsafe extern "C" fn esp_wifi_set_csi(en: bool) -> i32
Expand description

@brief Enable or disable CSI

@param en true - enable, false - disable

return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
  • ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start or promiscuous mode is not enabled
  • ESP_ERR_INVALID_ARG: invalid argument