esp-idf/examples/mesh/internal_communication
qiyuexia 7bd03faa4b mesh: add chain topology 2020-03-09 06:00:42 +00:00
..
main mesh: add chain topology 2020-03-09 06:00:42 +00:00
CMakeLists.txt asio: examples renamed to have consistent binary names when build in make and CMake 2018-10-17 15:00:26 +02:00
Makefile
README.md build system: Use CMake-based build system as default when describing commands 2019-07-08 17:31:27 +10:00

README.md

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 reprents root; the yellow reprents layer 2; the red reprents layer 3; the blue reprents layer 4; the green reprents layer 5; the white reprents 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.