esp-idf/examples/mesh/manual_networking
Jiang Jiang Jian 9f791e06f6 Merge branch 'bugfix/mesh_fix_hard_to_find_parent_v3.1' into 'release/v3.1'
mesh: bugfix and add two APIs (backport3.1)

See merge request idf/esp-idf!3134
2018-08-30 01:54:08 +08:00
..
main mesh: bugfix and add two APIs 2018-08-29 17:28:17 +08:00
CMakeLists.txt Merge branch 'master' into feature/cmake_update 2018-05-31 14:46:23 +10:00
Makefile mesh: add manual networking function 2018-05-23 18:09:12 +08:00
README.md mesh: update libs 2018-06-26 21:49:23 +08:00

Mesh Manual Networking Example

ESP-MESH provides the function of self-organized networking, but if users disable this function on one node, users must designate a parent for this node.

This example demonstrates how to scan a list of parent candidates, choose an appropriate parent and set as the parent of this node.

If no parent is found through this scan, enable the self-organized function to let the ESP-MESH handle it by itself.

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.