Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi Mesh automatically generate a root node without router #75

Open
lixiantai opened this issue Aug 3, 2019 · 4 comments
Open

Wifi Mesh automatically generate a root node without router #75

lixiantai opened this issue Aug 3, 2019 · 4 comments

Comments

@lixiantai
Copy link

I've tried the Mwifi demo code to build a mesh network without router, it works.

Can I build a mesh network without configure whether the root node or the non-root node? If there is no root node in the network, one of the nodes can become the root node. I read the guide Root Node Failure, but it need the router.

@zhanzhaocheng
Copy link
Collaborator

In the no-router scheme, because there is no router as a reference, the device cannot select which device should be the root node, so you need to specify the root node.
If you don't want to specify the node type in your code, you need to have a trigger that becomes the root node: such as via buttons, Bluetooth, etc.

@lixiantai
Copy link
Author

Thanks for reply, I understood what you said. I want to build such mesh network: all nodes' mesh id and channel are configured via Bluetooth, and power on some of these will also build a mesh network.
I would like to know if it is feasible, If a node cannot find the root node, it can become the root node with random delay (that may avoid generating two or more root node when power on at the same time).
Thanks.

@redemption95
Copy link

redemption95 commented Jan 7, 2020

Each node can list --> the RSSI of the neighbour nodes .. thereby keeping a record of the number and RSSI of its nearby nodes. This can be converted into a weight number and broadcasted as the voting happens for root. Thus one of them can become root. Re-root selection is also possible. Is there any expected work ..? Really need this feature.

Thank you,
Sasank Panda

@haider00727
Copy link

@githubforsank
How can I forcefully make a node ROOT NODE, because in my case couple of nodes are in same RSSI threshold of WiFi router, so it keeps shifting the root node. I need to make 1st node ROOT, all other will be the child. (5 Nodes are in a straight line, in same room 2m distance between each node, and wifi is about 5m away from first node).
My expectation is that the first node should be the root always, but in my case RSSI of wifi will be nearly equal to each node so they get playing with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants