OVMS3-idf/examples/mesh/internal_transceiver
Angus Gratton 2f318d16fa log: Make ESP_LOGx macros into single statements
Requires a semicolon after any use (previously this was optional due to trailing } after expansion)

Closes https://github.com/espressif/esp-idf/issues/1757
2018-04-26 09:08:07 +10:00
..
main log: Make ESP_LOGx macros into single statements 2018-04-26 09:08:07 +10:00
Makefile add mesh feature 2018-04-04 22:57:45 +08:00
README.md add mesh feature 2018-04-04 22:57:45 +08:00

Mesh Internal Transceiver 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

Run make 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.