Closed lbussy closed 3 years ago
Need:
// if true, enable autoreconnecting
void setWiFiAutoReconnect(boolean enabled);
// set ap channel
void setWiFiAPChannel(int32_t channel);
// set the country code for wifi settings, CN
void setCountry(String cc);
Also need to explore esp_wifi_set_bandwidth()
.
Here's the issue:
Either the AP is on channel 3 with a 40 MHz bandwidth or is on channels 1 and 5 (as my analyzer shows) with 20 MHz each. I can't tell with my current tools. All I can tell is there is no currently working method to get it to channel 1 and 20 MHz. I am going to have to raise an issue on the WiFiManager repo when I get my sh*t together.
Also, I should probably try a straight AP example without the lib.
Apparently, the AP is coming up on channel 3 and is set at 40MHz. The net effect is that it kills home APs on channels 1 and 6.