-
Notifications
You must be signed in to change notification settings - Fork 240
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
Get list of connected devices #241
Comments
Ciao @drtrigon the listing of available devices with static addressing is a feature that should be added on top and is not provided by the PJON class, primarily not to affect memory footprint. How this should be implemented depends on the limitations of the data-link or the set of data-links used (if master-slave request-response based or multi-master cyclic broadcast request-response based). |
Does that mean the dynamic addressing (or parts of it) can not be (re)used for this? |
Yes absolutely, you could implement on top whatever system is required for you to reach your goal, and yes you could also be inspired by the dynamic addressing implementation. |
I will have a look at this, thanks! My naive first approach would be to use e.g. |
Is it possible to have all devices answer to broadcasted message? In a way that the answers do not collide? |
All devices will receive broadcast messages. |
I found https://github.com/gioblu/PJON/blob/master/documentation/addressing.md#dynamic-addressing and am wondering whether I can use
bus.check_slaves_presence();
also on a bus with fixed ids? Does it work on LUDP also? A quick try resulted in error like:Would automatic listing of device ids for fixed ids be possible?
The text was updated successfully, but these errors were encountered: