esp_wifi_set_promiscuous_filter() function
Enable the promiscuous mode packet type filter.
Arguments
filter
the packet type filtered in promiscuous mode.
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
Notes
The default filter is to filter all packets except WIFI_PKT_MISC
Examples
esp_wifi_set_promiscuous_filter() is referenced by 1 libraries and example projects: