- Notifications
You must be signed in to change notification settings - Fork81
Add new API to enumerate available SocketCAN interfaces#58
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This patch adds a new API, `enumerate_interfaces()`, which can be usedto obtain a list of available SocketCAN interfaces. It is availableunder the `enumerate` feature flag since it pulls the libudev dependency(it may not be available in all Linux systems).This feature is inspired by the `enumerate_ports()` API found inserialport-rs.Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Add a new example that shows how to list available SocketCAN interfaces.Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Wow, cool! I can actually use this in one of my new applications right now, and the implementation looks solid. I won't have time to test it until the weekend, at the earliest, but I will try to get it merged ASAP. |
@fpagliughi gentle ping |
Yes, apologies, I'm overwhelmed at work this past month with two separate projects that need to be finished, and at the same time, every single one of my way-too-many open source projects got PRs that need to be tested and merged! I will get to this one ASAP. Hopefully this weekend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Appears to work well. Thanks!
No description provided.