Merge mesh networks into one.

MikeWazowski
Posts: 10
Joined: Mon Apr 08, 2019 11:55 am

Merge mesh networks into one.

Postby MikeWazowski » Mon Apr 08, 2019 12:06 pm

I would like to have a mesh network without using a router.
The idea is that a network tries to interconnect as many nodes as possible, but each node may "come and go", so it is impossible to manually assign a SINGLE root node.
How would it be possible to elect one node as a root and, if two such networks meet, merge them together?


Documentation says:
"The networks of the multiple root nodes will be combined into a single network with a single root node. However, root node conflicts where two or more root nodes have the same router SSID but different router BSSID are not handled."

I tried setting all nodes to root in a hope that they will end up resolving into a connected mesh, but neither of them changed their role.

In menuconfig was able to find an option "allow multiple root nodes in a network", but could not find any documentation regarding this feature and toggling it did not affect the end result.

Looking forward to Your recomendations!

yudong
Espressif staff
Espressif staff
Posts: 68
Joined: Wed May 16, 2018 12:31 pm

Re: Merge mesh networks into one.

Postby yudong » Tue Apr 09, 2019 6:27 am

Documentation says:
"The networks of the multiple root nodes will be combined into a single network with a single root node. However, root node conflicts where two or more root nodes have the same router SSID but different router BSSID are not handled."
This mechanism only works when multiple root nodes are connected to the same router. It doesn't work on no-router network.

If you want to build a network without using a router, you need to set one root.

MikeWazowski
Posts: 10
Joined: Mon Apr 08, 2019 11:55 am

Re: Merge mesh networks into one.

Postby MikeWazowski » Tue Apr 09, 2019 8:34 am

Thank You for response!

Just a couple more follow-up questions:

Is it possible to change manual root/not-root node configuration during runtime?

If yes is there a way to fake the router by manually setting SSID and RSSI?

Or if two routerless networks clash, is it possible for either of them to detect that an adjacent network is present?

ccut93
Posts: 5
Joined: Mon Jan 08, 2024 6:04 am

Re: Merge mesh networks into one.

Postby ccut93 » Wed Mar 19, 2025 6:57 pm

Have you ever resolved this issue? I am working on the same thing right now. I think I have a handle of manually managed networks, and the mechanics of selecting parents, but I am a little stuck on how to manage network conflicts. My idea is to be scanning continually, and try to identify if anything I see is not in my mesh. If I see mesh roots/nodes that are not in my network, and the other network is larger, I change my parent to be a node in the other network, and hope that my previous parent sees and connects to me.

My issues right now are:
1) I don't seem to have a way to identify how large the other network is.
2) I don't have a way to identify if the remote node is in my upstream path.

Any ideas on this?

Who is online

Users browsing this forum: Applebot, Baidu [Spider], Perplexity-User, PetalBot and 17 guests