ESP32S3 may join bad signal AP when set WIFI_CONNECT_AP_BY_SIGNAL (IDFGH-13008) #13958
Closed
3 tasks done
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.2.2-89-gcc9edf2085 and master
Espressif SoC revision.
ESP32S3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32S3-WROOM-1
Power Supply used.
USB
What is the expected behavior?
When WIFI_CONNECT_AP_BY_SIGNAL is set, the device should select AP with best signal to join.
What is the actual behavior?
Sometimes, the esp32s3 (as a STA) will select AP with bad signal to join.
Steps to reproduce.
I test with a few TP-Link Deco AP around my esp32s3.
I use below setting in my wifi_config:
.scan_method = WIFI_ALL_CHANNEL_SCAN,
.sort_method = WIFI_CONNECT_AP_BY_SIGNAL,
However, it seems the esp32s3 does not always connect to the best signal AP.
In my test environment, the AP ac:84:c6:32:1a:26 and ac:84:c6:32:14:77 are closed to the test device.
d8:47:32:7c:37:ae is far away.
However, sometimes the ESP32S3 will join d8:47:32:7c:37:ae, but it's not the best signal AP.
Also note, testing at the same place the ESP32 works fine which won't select d8:47:32:7c:37:ae to join.
Only ESP32S3 has this issue.
Debug Logs.
More Information.
No response
The text was updated successfully, but these errors were encountered: