-
Notifications
You must be signed in to change notification settings - Fork 9
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
Dynamic addressing based on IP address? #2
Comments
Yeah, I think here definitely needs to be a defined or defineable relationship between the IP and the RF24Network addresses, but haven't thought too much yet about how it would work best given the differences and similarities between routing in IP vs RF24Network. |
Come to think of it, the RF24Network addressing is directly relatable to IP addresses, and this could be an optional feature or even become the default for addressing, since more people probably understand IP routing compared to the octal system used.
So, if we used a mask of 10.10.10.10 for example, the master node could be 10.10.10.10 I haven't thought it through all the way, but it seems to have potential. Thoughts? |
I started a wiki page https://github.com/reixd/RF24toTUN/wiki/RF24Network:-Dynamic-Addressing to collect all the ideas and thoughts about dynamic addressing and routing. |
Your proposal could work :) About dynamic addressing: what do you think about this.
Together, with dynamic addressing and BATMAN routing across the network could be possible. An it would be robust if the layout changes often. We could implement both routing schemes: static and BATMAN. Any ideas? Thoughts? I know, I know, ambitious plans ^^ |
@TMRh20
What do you think. Could be useful to extract the IP address from the TUN/TAP device (last 16 bits) and use that as a dynamic addressing mechanism for the RF24Network?
The text was updated successfully, but these errors were encountered: