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

Dumbledore
Posts: 17
Joined: Thu Oct 10, 2019 7:55 pm

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

Postby Dumbledore » 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:

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!

Dumbledore
Posts: 17
Joined: Thu Oct 10, 2019 7:55 pm

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

Postby Dumbledore » Sun Jan 05, 2020 7:41 pm

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.

Dumbledore
Posts: 17
Joined: Thu Oct 10, 2019 7:55 pm

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

Postby Dumbledore » Thu Jan 09, 2020 4:06 pm

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?

Who is online

Users browsing this forum: Baidu [Spider], Gaston1980, Google Feedfetcher and 166 guests