Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

chrismerck
Posts: 76
Joined: Tue May 29, 2018 8:00 pm

Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

Postby chrismerck » Wed Oct 21, 2020 5:15 pm

We are getting a strong pattern of user complaints about our ESP32-based products either losing connectivity or having intermittent connectivity after either adding a wireless extender or switching to a "mesh" network such as Eero, Airport Time Capsule, and others.

We run IDF v3.3.2.

This is becoming a very embarrassing issue for us.

I thought that ESP32 was "Wi-Fi Alliance Certified" and this sort of issue would not appear. Please assist.

youDONG_esp
Posts: 7
Joined: Tue Oct 20, 2020 2:57 am

Re: Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

Postby youDONG_esp » Tue Oct 27, 2020 3:41 am

Hi Chrismerck, Could you provide us the log and the packet capture for the losing connectivity issue? We will take a look at it.

dovoto
Posts: 27
Joined: Tue Apr 20, 2021 3:51 pm

Re: Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

Postby dovoto » Tue May 11, 2021 8:30 pm

Experiencing similar enterprise level issues with mesh topology based networks.

These are customer reports and so logging is limited but anecdotally we find situations where networks have multiple identical SSIDs that the device fails to connect or frequently loses connection (like it connects to a low signal strength AP vice one near the device).

For instance, I pulled scan logs from two customers today that both have bgw320-500 and ATT service provided modems. The scan log lists multiple identical SSIDs like "ATTxxx" coming from different range extenders and different channels. We are going to try to search by rssi and connect based on bssid as we are kind of at a loss...but I have to assume the library is already connecting to the strongest signal first and so Ill be surprised if this has any effect.

Ideas would be appreciated.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

Postby WiFive » Wed May 12, 2021 4:33 am

scan_method For WIFI_FAST_SCAN scan, the scan ends when the first matched AP is found, for WIFI_ALL_CHANNEL_SCAN, the scan finds all matched APs on all channels. The default scan is WIFI_FAST_SCAN.

dovoto
Posts: 27
Joined: Tue Apr 20, 2021 3:51 pm

Re: Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

Postby dovoto » Thu May 13, 2021 3:48 pm

Thanks for that...but it seems that the default in the arduino libs is already set to scan all (not fast).

https://github.com/espressif/arduino-es ... A.cpp#L169

dovoto
Posts: 27
Joined: Tue Apr 20, 2021 3:51 pm

Re: Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

Postby dovoto » Thu May 13, 2021 3:56 pm

Actually, on further inspection, it seems wifi.begin(ssid,pass) does not set the scan mode, only wifi.begin(ssid,pass,channel, bssid, connect) does. The arduino library is such a mess sometimes. We will try this and report back. Thanks.

dovoto
Posts: 27
Joined: Tue Apr 20, 2021 3:51 pm

Re: Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

Postby dovoto » Wed May 19, 2021 10:58 pm

Replacing WiFi.begin(ssid, pass) with WiFi.begin(ssid,pass, 0,0,true) seems to have resolved this issue. I am at a loss as to how this would not be the default behavior for both methods.

ShellDude
Posts: 1
Joined: Tue Oct 17, 2023 4:47 am

Re: Compatibility Issues with Wireless Extenders and WiFi "Mesh" Networks

Postby ShellDude » Tue Oct 17, 2023 5:01 am

Apologies for practicing necromancy but I was experiencing a very similar issue with an ESP32 auto selecting an AP for the specified SSID with a far from ideal RSSI / connection when one with a much higher quality signal was right next to it (literally within feet).

I have a mesh / repeater network (multiple APs at varying distances with an RSSI level of -30 all the way up to -80). What I found was my ESP32 was connecting to the AP with the worst possible RSSI rating.

To work around this I have to initiate an active scan. Once the scan is complete, I iterate through results checking the entries for the appropriate SSID and picking the one with the lowest RSSI matching it. This is typically the first entry for the SSID in the list. I then use the BSSID for that AP in addition to the SSID when executing my wifi.begin...

Who is online

Users browsing this forum: Bing [Bot], Gaston1980, Majestic-12 [Bot] and 401 guests