Skip to content

Commit 66b5032

Browse files
GilDevjesserockz
andauthored
[wifi] Add details to use fast_connect with multiple networks (#5184)
Co-authored-by: Jesse Hills <[email protected]>
1 parent d4e4915 commit 66b5032

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/wifi.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ Configuration variables:
8181

8282
- **output_power** (*Optional*, string): The amount of TX power for the WiFi interface from 8.5dB to 20.5dB. Default for ESP8266 is 20dB, 20.5dB might cause unexpected restarts.
8383
- **fast_connect** (*Optional*, boolean): If enabled, directly connects to WiFi network without doing a full scan
84-
first. This is required for hidden networks and can significantly improve connection times. Defaults to ``off``.
84+
first. This is required for hidden networks and can significantly improve connection times (thus reducing power consumption). Defaults to ``off``.
8585
The downside is that this option connects to the first network the ESP sees, even if that network is very far away and
86-
better ones are available.
86+
better ones are available. If multiple networks are configured, the last successfully connected one is tested first.
87+
In case it fails, all networks are then tested one after the other in their declared order, starting with the first one in the list.
8788
- **passive_scan** (*Optional*, boolean): If enabled, then the device will perform WiFi scans in a passive fashion. Defaults to ``false``.
8889

8990
- **enable_btm** (*Optional*, bool): Only on ``esp32`` with ``esp-idf``. Enable 802.11v BSS Transition Management support.

0 commit comments

Comments
 (0)