Function esp_idf_svc::hal::sys::esp_wifi_set_promiscuous_filter
source ยท pub unsafe extern "C" fn esp_wifi_set_promiscuous_filter(
filter: *const wifi_promiscuous_filter_t,
) -> i32
Expand description
@brief Enable the promiscuous mode packet type filter.
@note The default filter is to filter all packets except WIFI_PKT_MISC
@param filter the packet type filtered in promiscuous mode.
@return
- ESP_OK: succeed
- ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init