This example demonstrates how to use the ESP-NOW data to communicate.
One device receives data through the serial port and broadcasts it to all nodes through ESP-NOW data. The others will output the data through the serial port when receive the data.
This example can run on any ESP32 series boards and at least two development boards are required.
Open the project configuration menu (idf.py menuconfig
) to configure the packet retransmission counts and the UART port for data communication using (Refer to Kconfig file).
Packet receiving device log
The log of the sending device
To create a project from this example, run:
idf.py create-project-from-example "espressif/esp-now=2.5.1:get-started"