Skip to content

Commit fc7616e

Browse files
Apply @lucasssvaz suggestions to docs
Co-authored-by: Lucas Saavedra Vaz <[email protected]>
1 parent 2b43448 commit fc7616e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: docs/en/api/espnow.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ You can register a callback function to handle incoming data from new peers usin
9191
ESP-NOW Peer Class
9292
******************
9393

94-
The `ESP_NOW_Peer` class represents a peer device in the ESP-NOW network.
94+
The `ESP_NOW_Peer` class represents a peer device in the ESP-NOW network. It is an abstract class that must be inherited by a child class that properly handles the peer connections and implements the `_onReceive` and `_onSent` methods.
9595

9696
Constructor
9797
^^^^^^^^^^^
@@ -234,7 +234,7 @@ Set the local master key (LMK) for the peer.
234234
_onReceive
235235
^^^^^^^^^^
236236

237-
Callback function to handle incoming data from the peer, must be implemented by the upper class.
237+
Callback function to handle incoming data from the peer. This is a pure virtual method that must be implemented by the upper class.
238238

239239
.. code-block:: cpp
240240
@@ -247,7 +247,7 @@ Callback function to handle incoming data from the peer, must be implemented by
247247
_onSent
248248
^^^^^^^
249249

250-
Callback function to handle the completion of sending data to the peer, must be implemented by the upper class.
250+
Callback function to handle the completion of sending data to the peer. This is a pure virtual method that must be implemented by the upper class.
251251

252252
.. code-block:: cpp
253253
@@ -258,7 +258,7 @@ Callback function to handle the completion of sending data to the peer, must be
258258
Examples
259259
--------
260260

261-
Set of 2 examples of the ESP-NOW library to send and receive data between multiple ESP32 devices (1 master, multiple slaves).
261+
Set of 2 examples of the ESP-NOW library to send and receive data using broadcast messages between multiple ESP32 devices (multiple masters, multiple slaves).
262262

263263
1. ESP-NOW Broadcast Master Example:
264264

@@ -270,7 +270,7 @@ Set of 2 examples of the ESP-NOW library to send and receive data between multip
270270
.. literalinclude:: ../../../libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Slave/ESP_NOW_Broadcast_Slave.ino
271271
:language: cpp
272272

273-
Example of the ESP-NOW Serial library to send and receive data between 2 ESP32 devices using the serial port:
273+
Example of the ESP-NOW Serial library to send and receive data as a stream between 2 ESP32 devices using the serial monitor:
274274

275275
.. literalinclude:: ../../../libraries/ESP_NOW/examples/ESP_NOW_Serial/ESP_NOW_Serial.ino
276276
:language: cpp

0 commit comments

Comments
 (0)