Description
CircuitPython version
Both
Adafruit CircuitPython 7.3.3 on 2022-08-29; ProS3 with ESP32S3
Adafruit CircuitPython 8.0.0-beta.6 on 2022-12-21; ProS3 with ESP32S3
Hi,
I'm not sure if this is a circuitpython issue or something related to the esp-idf that circuitpython is using
But I recently ran into a problem similar to this one
From what I can tell if there's multiple stations available on a single channel
Then the esp seems to have problems connecting to one of them
Example - Scanning
So running the following from home to get a list of access points
import wifi
for network in wifi.radio.start_scanning_networks():
print("\t%s\t\tRSSI: %d\tChannel: %d" % (str(network.ssid, "utf-8"),
network.rssi, network.channel))
wifi.radio.stop_scanning_networks()
I end up with the following
GBD-TPLINK-Ext-2.4GHz RSSI: -47 Channel: 3
GBD2_2.4 RSSI: -79 Channel: 3
GBD-TPLINK3-Ext-2.4GHz RSSI: -74 Channel: 2
- The first one is a wifi booster sitting in the same room I'm in so the signal strength is pretty strong
- The second is the main wifi router, that's in another room in the house
- The third is another wifi booster sitting in the garage far away
Example Connecting
Trying to connect with
print(wifi.radio.connect(ssid="GBD-TPLINK-Ext-2.4GHz",password="passwordhere",timeout=60))
- Typically for the first two 90% of the time when trying a connection I'll end up with a
ConnectionError: Unknown failure 205
assuming I extend the timeout to 60 or longer. - For the third which is on a different channel the 205 error never shows up, the signal is a bit weak so I might get "No network with that ssid" but I can connect usually on about 2 attempts
- I can increase the odds a bit of connecting to the access point in the same room (the first one) by placing the device right next to it.
This seems to suggest some sort of interfernce going on when there's more than one access point on the same channel.
I tend to have my wifi boosters setup with different ssid's so I can tell what I'm connecting to.
Both the boosters are the same model
So I'm wondering if this might be an ESP-S3 / ESP-S2 bug within the esp-idf libs
I've tried this on the latest V7 and V8 firmwares with the same result
Also tried specifying the bssid in the options but that results in the same 205 error
I admit this one is difficult to diagnose, it might just be a case of waiting for esp to release a patch of some kind to they're libs
Behavior
As Above
Description
No response
Additional information
No response