Page 1 of 1

Station isn't recognizing channel switches or able to do them themself

Posted: Sun Jan 05, 2020 12:59 am
by Dumbledore
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:

Code: Select all

wifi: esp_wifi_set_channel 1454 wifi not start or sniffer not enabled, should start wifi or enable sniffer first
, even though I'm already within a WiFi.

Any tips? Thanks in advance!

Re: Station isn't recognizing channel switches or able to do them themself

Posted: Sun Jan 05, 2020 7:41 pm
by Dumbledore
PS: It turns out that it seems to be the AP's fault. For some reason its SSID is hidden after switching to a channel other than 1. Is this intended? Can I change that? I just want to iterate through some channels while both boards stay in the same WiFi ideally.

Re: Station isn't recognizing channel switches or able to do them themself

Posted: Thu Jan 09, 2020 4:06 pm
by Dumbledore
Morning! *small push to the front page

Any idea? Is this a feature, a bug or am I just doing something wrong about switching channels?