Function esp_idf_sys::esp_wifi_set_promiscuous

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

@brief Enable the promiscuous mode.

@param en false - disable, true - enable

@return

  • ESP_OK: succeed
  • ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init