Search found 18 matches

by lil_spli
Thu Sep 20, 2018 9:45 am
Forum: ESP-IDF
Topic: What is SYSTEM_EVENT_STA_DISCONNECTED reason code 34
Replies: 1
Views: 3631

What is SYSTEM_EVENT_STA_DISCONNECTED reason code 34

Hi Occaisonally when connecting to WiFi using esp_wifi_connect(), I'm getting the SYSTEM_EVENT_STA_DISCONNECTED event, with a reason code of 34. I can't find reference to it in esp_wifi_types.h or the documentation. Any idea what it might be? Just as an aside, I have lots of problems connecting the ...
by lil_spli
Fri May 25, 2018 9:31 am
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Re: Wi-Fi Scanning and excluding 802.11n 5Ghz networks

Or should I set the channel to 0? I'm not sure if the AP channel is stored in NVS. I have seen somewhere in the forums that it wasn't.
by lil_spli
Fri May 25, 2018 9:26 am
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Re: Wi-Fi Scanning and excluding 802.11n 5Ghz networks

Ah, thanks WiFive So if I was to set the wifi_sort_method_t in wifi_sta_config_t to sort on rssi, it'll just connect to the closest AP with the SSID? We store the SSID and passphrase in the NVS, so I assume that if a user was to move the device to another location which was closer to another node, i...
by lil_spli
Thu May 24, 2018 9:21 pm
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Re: Wi-Fi Scanning and excluding 802.11n 5Ghz networks

Does anyone know the answer to this. We’re now having problems with mesh networks. Obviously many APs are being returned in the scan and the ESP doesn’t seem to be able to connect properly to the network.

Thanks


Simon
by lil_spli
Wed Apr 18, 2018 4:00 pm
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Re: Wi-Fi Scanning and excluding 802.11n 5Ghz networks

So I have a question which someone from the ESP team should be able to answer (or someone else knowledgable on the subject). In the case where you have an extended network, with two devices with the same SSID on the same channel, if I just connect using SSID and passphrase in the the config struct, ...
by lil_spli
Wed Apr 18, 2018 12:49 pm
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Re: Wi-Fi Scanning and excluding 802.11n 5Ghz networks

Of course. Thanks. That'll be it! We've had it on a few networks, and I just made the assumption that it was something to do with 5Ghz.

Now I need to work out a way to mitigate that.

Thanks again


Si
by lil_spli
Wed Apr 18, 2018 10:50 am
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Re: Wi-Fi Scanning and excluding 802.11n 5Ghz networks

So I've found some time to do some more research on this. It would seem that some dual-band routers advertise the same SSID on the same channel but with the different BSSID. I'm not an expert on the dual band aspect. But if I do a scan on the ESP, I get: I (2692) wifi: Ap record: ssid: MyAP, bssid: ...
by lil_spli
Tue Mar 27, 2018 9:24 am
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Re: Wi-Fi Scanning and excluding 802.11n 5Ghz networks

Hi I am scanning on the ESP32 (returning these results to the app over BLE), and the scan is returning 5Ghz networks that the ESP then fails to connect to. The 5Ghz APs have the same SSID as the 2.4Ghz as well which makes it very confusing. Now that I think of it, it's not consistent across all rout...
by lil_spli
Mon Mar 26, 2018 4:09 pm
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Re: Wi-Fi Scanning and excluding 802.11n 5Ghz networks

The problem isn't do with RSSI as such, it's to do with the fact that the ESP doesn't support 5Ghz and therefore these APs should be filtered out of the scan if possible.

Thanks


Simon
by lil_spli
Fri Mar 23, 2018 11:02 am
Forum: ESP-IDF
Topic: Wi-Fi Scanning and excluding 802.11n 5Ghz networks
Replies: 13
Views: 22442

Wi-Fi Scanning and excluding 802.11n 5Ghz networks

Hi Our app scans for wi-fi networks to connect to (which a user than then tell the ESP32 to connect to using an app on their phone). When the scan returns, the ap records will contain 802.11n 5Ghz APs that the ESP32 can then not connect to. Is there anyway to exclude or filter out 5GHz APs? I can't ...