thorrak / tiltbridge

Tilt Hydrometer to WiFi Bridge
http://www.tiltbridge.com/
Other
61 stars 27 forks source link

AP on channel 3 #158

Closed lbussy closed 3 years ago

lbussy commented 3 years ago

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.

lbussy commented 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().

lbussy commented 3 years ago

Here's the issue:

image

lbussy commented 3 years ago

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.

lbussy commented 3 years ago

Submitted #1209 in the WiFiManager repo.