-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Mesh Topology #37
Comments
The topology is the same for both mesh and network API. The diagrams use the octal-based logical address because when a mesh node connects to the network, the mesh master assigns a octal-based logical address to the mesh child node's ID number. This is done so both network nodes and mesh nodes can co-exist on the same network. I guess I should add this tidbit of info to the docs' topology page. But, it is stated in the RF24Mesh.node_id attribute documentation. |
The question is follow.. if a slave node is out of range of master node, does another slave node repeat it to master or must all slave nodes direct communicate with master to working? |
Each level of the network only interacts with an adjacent level. A node on level 4 never communicates directly with the master node (which is on level 0). I thought this info would be apparent as the topology page says:
If a slave node on level 1 (that is a direct child of master node) becomes out of range from the master node (level 0), then it is considered disconnected and needs to call if not nrf.check_connection():
nrf.renew_address() Remember that each node in the network can only have a maximum of 5 child nodes. I tried to use the first diagram in the topology page to show this visually. |
Ok understand. But as i read on topology (781 nodes) only possible on network not on mesh (as i read there must be a id 0-127 or so..), correct? |
The node ID is an unsigned byte, so 0-255. There can be a maximum of 255 mesh nodes in a network. But there can also be non-mesh nodes on the same network. So a maximum of 781 (including up to 255 mesh nodes and the master node). You can also assign a node ID number to a non-mesh network node by calling |
Can you may tell me morf about the Mesh Topology used in this Lib? Does the nodes (slaves) also repeat messages to other nodes or is all handled by the master? I miss a diagram for the Mesh to better understand it. I study the Network page already.
The text was updated successfully, but these errors were encountered: