From 50a5fe0020cc8d16fd9b4c108bd992209cb041f6 Mon Sep 17 00:00:00 2001 From: Thomas Kiss Date: Tue, 9 Dec 2025 21:12:56 +0100 Subject: [PATCH] docs/library/network.WLAN: Fix typo for ESP32 protocol constants. Signed-off-by: Thomas Kiss --- docs/library/network.WLAN.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/library/network.WLAN.rst b/docs/library/network.WLAN.rst index 27d6b383a3..e4653bc35c 100644 --- a/docs/library/network.WLAN.rst +++ b/docs/library/network.WLAN.rst @@ -145,7 +145,7 @@ Methods reconnects Number of reconnect attempts to make (integer, 0=none, -1=unlimited) txpower Maximum transmit power in dBm (integer or float) pm WiFi Power Management setting (see below for allowed values) - protocol (ESP32 Only.) WiFi Low level 802.11 protocol. See `WLAN.PROTOCOL_DEFAULTS`. + protocol (ESP32 Only.) WiFi Low level 802.11 protocol. See `WLAN.PROTOCOL_DEFAULT`. ============= =========== Constants @@ -170,7 +170,7 @@ ESP32 Protocol Constants The following ESP32-only constants relate to the ``WLAN.config(protocol=...)`` network interface parameter: -.. data:: WLAN.PROTOCOL_DEFAULTS +.. data:: WLAN.PROTOCOL_DEFAULT A bitmap representing all of the default 802.11 Wi-Fi modes supported by the chip. Consult `ESP-IDF Wi-Fi Protocols`_ documentation for details. @@ -184,7 +184,7 @@ network interface parameter: `. This mode can be bitwise ORed with some standard 802.11 protocol bits - (including `WLAN.PROTOCOL_DEFAULTS`) in order to support a mix of standard + (including `WLAN.PROTOCOL_DEFAULT`) in order to support a mix of standard Wi-Fi modes as well as LR mode, consult the `Espressif long-range documentation`_ for more details.