You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/api/espnow.rst
+5-5
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ You can register a callback function to handle incoming data from new peers usin
91
91
ESP-NOW Peer Class
92
92
******************
93
93
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.
95
95
96
96
Constructor
97
97
^^^^^^^^^^^
@@ -234,7 +234,7 @@ Set the local master key (LMK) for the peer.
234
234
_onReceive
235
235
^^^^^^^^^^
236
236
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.
238
238
239
239
.. code-block:: cpp
240
240
@@ -247,7 +247,7 @@ Callback function to handle incoming data from the peer, must be implemented by
247
247
_onSent
248
248
^^^^^^^
249
249
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.
251
251
252
252
.. code-block:: cpp
253
253
@@ -258,7 +258,7 @@ Callback function to handle the completion of sending data to the peer, must be
258
258
Examples
259
259
--------
260
260
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).
262
262
263
263
1. ESP-NOW Broadcast Master Example:
264
264
@@ -270,7 +270,7 @@ Set of 2 examples of the ESP-NOW library to send and receive data between multip
0 commit comments