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

Mesh addressing #157

Closed
Zuputmer opened this issue Dec 27, 2018 · 5 comments
Closed

Mesh addressing #157

Zuputmer opened this issue Dec 27, 2018 · 5 comments

Comments

@Zuputmer
Copy link

Hey,
I was wondering, supposing i have 100 nodes running the mesh sketch and one master in the middle. Supposing all 100 nodes are within the range of the master, how will the nodes be addressed then? Will the tree topology still be followed or will they directly talk to the master? What will their addresses look like?

Please forgive my question, i am new to this. Thanks in advance.

@TMRh20
Copy link
Member

TMRh20 commented Dec 27, 2018 via email

@Zuputmer
Copy link
Author

Zuputmer commented Dec 27, 2018

@TMRh20 Thank you for your reply. However, in my network all nodes will not be powered on at any given time. The nodes will be powered on one after the other and then powered off after they finish sending data to the master,, based on an interrupt from an RTC. If routing is still followed regardless of proximity to the master, then i cannot implement a mesh network using my individual battery powered nodes, am i right? I say this because the parent node of one particular node might not be powered while this node turns on. All i want to do is send data to the master and then turn off.

@TMRh20
Copy link
Member

TMRh20 commented Dec 27, 2018 via email

@Zuputmer
Copy link
Author

Zuputmer commented Dec 28, 2018

@TMRh20 Thank you so much for your reply. Once again, your help is greatly appreciated. I now have a clear idea of what i should do. However, i do have a couple of questions-
1)Since auto retry will not happen as you mentioned, i can use the returned bool variable from the write function to check if transmission has failed and then retry manually in the code, am i right?
2)When using unicast write, is it possible for the master to know the node ID of the node that sent the data to it? Or should i include the address in the payload being sent to the master?
3)If i use unicast write to send data to the master node, is it possible to use AckPayload to send some data back to the node from the master?

@TMRh20
Copy link
Member

TMRh20 commented Dec 28, 2018 via email

@Zuputmer Zuputmer closed this as completed Jan 3, 2019
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

2 participants