Skip to content
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

CAN Filter and Mask #170

Merged
merged 11 commits into from
Nov 10, 2023
Merged

CAN Filter and Mask #170

merged 11 commits into from
Nov 10, 2023

Conversation

Woodwarth
Copy link
Contributor

Added CAN Filter and Mask

@CLAassistant
Copy link

CLAassistant commented Nov 2, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@aentinger aentinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Woodwarth ☕ 👋

It's a good start! 👍 I've added a couple of suggestions to improve this PR ;)

libraries/Arduino_CAN/src/R7FA4M1_CAN.cpp Outdated Show resolved Hide resolved
libraries/Arduino_CAN/src/R7FA4M1_CAN.cpp Outdated Show resolved Hide resolved
libraries/Arduino_CAN/src/R7FA4M1_CAN.h Outdated Show resolved Hide resolved
libraries/Arduino_CAN/src/R7FA4M1_CAN.h Outdated Show resolved Hide resolved
libraries/Arduino_CAN/src/R7FA4M1_CAN.cpp Outdated Show resolved Hide resolved
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Nov 3, 2023
@aentinger
Copy link
Contributor

Hi @Woodwarth ☕ 👋

I've made the CAN filter API more Arduino friendly. Can you please test it and tell me if this still works as you want it to work?

@Woodwarth
Copy link
Contributor Author

Dont add fixed functions for setting standard/extended id's, keep it dynamic.
Added function to set id mode for mailbox (std/ext). -> will do an example for this

contant with std/ext mask should be in libary and not in example

@aentinger
Copy link
Contributor

Dont add fixed functions for setting standard/extended id's, keep it dynamic.

Make a proposal. However, no internal knowledge of the library should be required. I'll be dropping your two latest commits.

@aentinger aentinger merged commit 3a1b8a3 into arduino:main Nov 10, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants