Skip to content

Add CanBroker.setFdFrames/isFdFrames, mirroring setLoopback/isLoopback - #132

Merged
pschichtel merged 2 commits into
pschichtel:masterfrom
cameronkilgore:fd-frames-support
Oct 17, 2026
Merged

pschichtel merged 2 commits into
pschichtel:masterfrom
cameronkilgore:fd-frames-support

Conversation

@cameronkilgore

Copy link
Copy Markdown
Contributor

CanBroker.addDevice applies FILTER and LOOPBACK to every channel it opens, but never CAN_RAW_FD_FRAMES. Without that socket option, the kernel silently drops FD frames on that socket. A device added through CanBroker can't send or receive CAN FD frames.

Adds setFdFrames/isFdFrames, mirroring the existing setLoopback/isLoopback pair exactly, and applies it in addDevice alongside the existing FILTER/LOOPBACK options.

@pschichtel

Copy link
Copy Markdown
Owner

Would you mind adding a test for this?

@cameronkilgore

Copy link
Copy Markdown
Contributor Author

Would you mind adding a test for this?

Of course, done. Let me know if there's anything else you'd like to see. Thanks

@pschichtel

pschichtel commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

I think this looks good. Do you need/want a release with this soon or can this wait until I'm back from vacation (mid of October) ?

@cameronkilgore

Copy link
Copy Markdown
Contributor Author

I think this looks good. Do you need/want a release with this soon or can this wait until I'm back from vacation (mid of October) ?

No rush, it can wait until you're back. Appreciate it!

@pschichtel
pschichtel merged commit df57b33 into pschichtel:master Oct 17, 2026
1 check passed
@pschichtel

Copy link
Copy Markdown
Owner

thanks!

@pschichtel

Copy link
Copy Markdown
Owner

I've finally cut the release.

@cameronkilgore

Copy link
Copy Markdown
Contributor Author

I've finally cut the release.

Awesome, hope you enjoyed your vacation. Thanks again!

@cameronkilgore
cameronkilgore deleted the fd-frames-support branch October 22, 2026 04:23
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

Successfully merging this pull request may close these issues.

2 participants