Station isn't recognizing channel switches or able to do them themself
Posted: Sun Jan 05, 2020 12:59 am
Morning!
So I have two boards, connected via WiFi (one AP, one STA). When I change channel on the AP via esp_wifi_set_channel, the Station seems to not get any Channel Switch Announcement, instead it effortlessly tries to reconnect to the AP (on the old channel I guess).
I tried to send some CSA by myself to trigger a esp_wifi_set_channel at the Station too, but it throws an error:, even though I'm already within a WiFi.
Any tips? Thanks in advance!
So I have two boards, connected via WiFi (one AP, one STA). When I change channel on the AP via esp_wifi_set_channel, the Station seems to not get any Channel Switch Announcement, instead it effortlessly tries to reconnect to the AP (on the old channel I guess).
I tried to send some CSA by myself to trigger a esp_wifi_set_channel at the Station too, but it throws an error:
Code: Select all
wifi: esp_wifi_set_channel 1454 wifi not start or sniffer not enabled, should start wifi or enable sniffer first
Any tips? Thanks in advance!