Function esp_idf_sys::esp_wifi_get_promiscuous

source ยท
pub unsafe extern "C" fn esp_wifi_get_promiscuous(
    en: *mut bool,
) -> esp_err_t
Expand description

@brief Get the promiscuous mode.

@param[out] en store the current status of promiscuous mode

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
  • ESP_ERR_INVALID_ARG: invalid argument