optimise wifi channel for softap
Posted: Thu Jun 25, 2020 8:31 am
I'm working on a project which uses softap exclusively. In use my ESP8266 talks to a mobile phone. Neither has network access in the application.
I had this working nicely at home but it fell over badly when I tried it at a friends place.
We realised that this was a congestion issue, softap defaults to wifi channel 6 which was very congested at his site. This was verified using a wifi analyser app.
I configured the softap to use channel 13 which looked much less crowded and it worked just fine in both locations.
Clearly, a 'site survey' isn't always practical & channel 13 isn't guaranteed to be good everywhere!
What I'd like to do is automate this.
I can perform a network scan with ESP8266 & see what's happening locally, but it doesn't seem entirely trivial determining an optimal channel from this. Unless I'm missing something which is always possible
Anyone else faced this issue? Bright ideas?
Cheers
Ian
I had this working nicely at home but it fell over badly when I tried it at a friends place.
We realised that this was a congestion issue, softap defaults to wifi channel 6 which was very congested at his site. This was verified using a wifi analyser app.
I configured the softap to use channel 13 which looked much less crowded and it worked just fine in both locations.
Clearly, a 'site survey' isn't always practical & channel 13 isn't guaranteed to be good everywhere!
What I'd like to do is automate this.
I can perform a network scan with ESP8266 & see what's happening locally, but it doesn't seem entirely trivial determining an optimal channel from this. Unless I'm missing something which is always possible
Anyone else faced this issue? Bright ideas?
Cheers
Ian