8000 docs/library/espnow: Clarify usage of the "rate" configuration key. · sparkfun/micropython@3b62524 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b62524

Browse files
agattidpgeorge
authored andcommitted
docs/library/espnow: Clarify usage of the "rate" configuration key.
This commit adds a clarification for the ESPNow module's documentation regarding its "config" method. The original documentation for that method could be interpreted as having all its configuration keys being able to be queried, but the "rate" configuration key is actually write-only due to ESP-IDF's lack of a way to retrieve that bit of information from the radio's configuration. The documentation changes highlight the fact that said configuration key is actually write-only. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
1 parent 0a55f1f commit 3b62524

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/library/espnow.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,13 @@ Configuration
164164
wait forever. The timeout can also be provided as arg to
165165
`recv()`/`irecv()`/`recvinto()`.
166166

167-
*rate*: (ESP32 only, IDF>=4.3.0 only) Set the transmission speed for
167+
*rate*: (ESP32 only) Set the transmission speed for
168168
ESPNow packets. Must be set to a number from the allowed numeric values
169169
in `enum wifi_phy_rate_t
170-
<https://docs.espressif.com/projects/esp-idf/en/v4.4.1/esp32/
171-
api-reference/network/esp_wifi.html#_CPPv415wifi_phy_rate_t>`_.
170+
<https://docs.espressif.com/projects/esp-idf/en/v5.2.3/esp32/
171+
api-reference/network/esp_wifi.html#_CPPv415wifi_phy_rate_t>`_. This
172+
parameter is actually *write-only* due to ESP-IDF not providing any
173+
means for querying the radio interface's rate parameter.
172174

173175
.. data:: Returns:
174176

0 commit comments

Comments
 (0)
0