I have created a mesh network using ESP32 MDF by connecting 9 esp32 boards. But two roots have been created. Even the ESP mesh FAQ section has mentioned that there can be only one root for a network . How can this be happen?
I use the example in https://github.com/espressif/esp-mdf/tr ... _kit/light .
Here is an image of my network. The pink light shows root nodes. Other colors represents different layers in the network
https://drive.google.com/file/d/1tCcmsa ... sp=sharing
Two roots are created after provisioning
Re: Two roots are created after provisioning
Hi LahiruLKR,
There are two factors that will cause this:
1. the vote percentage for a root. when this is low, there is possible to generate several root nodes.
2. root_conflict_allow is enabled, which means we allow the existance of several root nodes in a network.
With 1 and 2, the case may occur.
You can try in the code, feel free to feedback if this not help or can't find where the code is.
There are two factors that will cause this:
1. the vote percentage for a root. when this is low, there is possible to generate several root nodes.
2. root_conflict_allow is enabled, which means we allow the existance of several root nodes in a network.
With 1 and 2, the case may occur.
You can try in the code, feel free to feedback if this not help or can't find where the code is.
Re: Two roots are created after provisioning
Hi ESP_LBB,
Thank you for replying. Unfortunately i could not find root_conflict_allow in my code. Also i googled it but couldn't find it.
Thank you for replying. Unfortunately i could not find root_conflict_allow in my code. Also i googled it but couldn't find it.
Re: Two roots are created after provisioning
1. You can modify the configuration by
2. Provide some logs of the device so that we can better analyze the cause of the problem
Code: Select all
make menuconfig
2. Provide some logs of the device so that we can better analyze the cause of the problem
Who is online
Users browsing this forum: No registered users and 67 guests