esp_wifi_enable_bsscolor_collision_detection() function
Enable bss color collision detection. @attention Currently, only STA BSS color collision detection is supported.
Arguments
ifx
interface to be configured
enable
If true, when the STA detects a BSS color collision, it will report the BSS color collision event to the access point (AP).
Return value
- ESP_OK: succeed - ESP_ERR_WIFI_IF: Invalid interface - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start