esp-idf/examples/mesh/internal_communication
2024-08-30 20:43:06 +08:00
..
main all: Removes unnecessary newline character in logs 2023-06-09 03:31:21 +08:00
CMakeLists.txt tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
README.md feat(wifi): add wifi support for esp32c61 2024-08-30 20:43:06 +08:00
sdkconfig.defaults fix(example): fixed app partition is too small for binary size 2024-01-11 10:42:38 +08:00

Supported Targets ESP32 ESP32-C3 ESP32-C5 ESP32-C6 ESP32-C61 ESP32-S2 ESP32-S3

Mesh Internal Communication Example

This example demonstrates how to use the mesh APIs to set up a mesh network, send and receive messages over the mesh network and etc.

Features Demonstrated

  • mesh initialization

  • mesh configuration

  • mesh start

  • mesh event handler

  • root send and receive

  • other nodes receive

Open project configuration menu (idf.py menuconfig) to configure the mesh network channel, router SSID, router password and mesh softAP settings.

When the mesh network is established and if you happen to run this example on ESP-WROVER-KIT boards, the RGB light indicator will show you on which layer devices are. The pink represents root; the yellow represents layer 2; the red represents layer 3; the blue represents layer 4; the green represents layer 5; the white represents layer greater than 5. Root continuously sends an On / Off control message to all devices in its routing table. Devices including root itself receive this message and do the On / Off.