Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 780588d

Browse filesBrowse files
authored
Remove undocumented and uncontrollable WiFI RSSI filter. (espressif#5393)
Commit d15e1b0 [1] in the 2.0.0 pull request espressif#4996 introduced a filter to connect only to WiFi networks with a RSSI of -75 or better. This results in strage behaviour, as a scan still shows networks, that can't be connected to, even though with older versions, connecting to those networks was possible and the connection (albeit slow) was stable. Remove the RSSI filter for now by setting the threshold to -127, i.e. the lowest possible value. Maybe in the future the filter threshold could be exposed to users, to allow filtering out nearly unreachable networks. [1] github.com/espressif/pull/4996/commits/d15e1b0
1 parent eac8b2d commit 780588d
Copy full SHA for 780588d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎libraries/WiFi/src/WiFiSTA.cpp

Copy file name to clipboardExpand all lines: libraries/WiFi/src/WiFiSTA.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static void wifi_sta_config(wifi_config_t * wifi_config, const char * ssid=NULL,
7373
wifi_config->sta.listen_interval = listen_interval;
7474
wifi_config->sta.scan_method = scan_method;//WIFI_ALL_CHANNEL_SCAN or WIFI_FAST_SCAN
7575
wifi_config->sta.sort_method = sort_method;//WIFI_CONNECT_AP_BY_SIGNAL or WIFI_CONNECT_AP_BY_SECURITY
76-
wifi_config->sta.threshold.rssi = -75;
76+
wifi_config->sta.threshold.rssi = -127;
7777
wifi_config->sta.pmf_cfg.capable = true;
7878
wifi_config->sta.pmf_cfg.required = pmf_required;
7979
wifi_config->sta.bssid_set = 0;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.