Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
fpagliughi merged 2 commits intosocketcan-rs:masterfromteslabs:add-enumerate
Jun 5, 2024

Conversation

gmarull
Copy link
Contributor

No description provided.

mjforan reacted with thumbs up emoji
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>
@fpagliughi
Copy link
Collaborator

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.
Thanks

gmarull reacted with thumbs up emoji

@gmarull
Copy link
ContributorAuthor

@fpagliughi gentle ping

@fpagliughi
Copy link
Collaborator

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.

Copy link
Collaborator

@fpagliughifpagliughi left a 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!

gmarull reacted with hooray emoji
@fpagliughifpagliughi merged commite777612 intosocketcan-rs:masterJun 5, 2024
@gmarullgmarull deleted the add-enumerate branchJune 6, 2024 08:06
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fpagliughifpagliughifpagliughi approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@gmarull@fpagliughi

[8]ページ先頭

©2009-2025 Movatter.jp