Open yel-best opened 2 months ago
Based on my understanding of what you described, what you need is the settings for this API, not the fusion config settings. The fusion logic triggers when there are multiple root nodes. Devices with weaker relative router signal strengths will try to connect to the root node with the strongest signal unless the signal strength between them falls below the fusion_rssi_threshold.
esp_mesh_lite_set_rssi_threshold(NULL, 0, -75);
@tswen by "Devices with weaker relative router signal strengths will try to connect to the root node with the strongest signal" you mean that a ESP Mesh Lite network (or in fact two networks with the same network id) can have multiple roots (I am a little confused about that fact, because it is mentioned here the other way around "There can only be one root node within an ESP-WIFI-MESH network" https://github.com/espressif/esp-mesh-lite/issues/80) and the fusion configuration defines situations, when the two root nodes can exist side by side?
Is the rssi threshold also a thing I need to configure when implementing LR in the mesh network (https://github.com/espressif/esp-mesh-lite/issues/80)?
Yes, ideally, for a Mesh network, there should only be one root node. However, we can't rule out the possibility of having multiple root nodes at certain times, such as when multiple devices power on simultaneously or when a device connects directly to a router because it didn't scan for a parent node due to some circumstances. Therefore, there's a fusion mechanism in place. When there are multiple root nodes in the network, it attempts to merge these root nodes into one.
use last version mesh-lite use esp-idf 5.1.3
I set the fusion parameters directly when calling the
app_wifi_set_softap_info
function when initializing mesh-lite, but it didn't seem to achieve the desired effect.I have some confusion about the parameters of this fusion signal strength, as follows:
The control I understand is that under the same mesh, if certain conditions are not met, it will automatically become a root node. This allows me to ensure that devices on multiple floors are present when using a mesh with the same SSID. Network; it is possible to elect to become the root node or automatically become the root node by detecting network signals that do not meet the threshold;