Function esp_idf_svc::sys::esp_wifi_set_promiscuous
source ยท pub unsafe extern "C" fn esp_wifi_set_promiscuous(en: bool) -> i32
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