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

Acceptance filter configuration helpers #169

Closed
pavel-kirienko opened this issue Jun 7, 2021 · 1 comment · Fixed by #171
Closed

Acceptance filter configuration helpers #169

pavel-kirienko opened this issue Jun 7, 2021 · 1 comment · Fixed by #171

Comments

@pavel-kirienko
Copy link
Member

See https://forum.uavcan.org/t/can-filter-configuration-to-use-along-libcanard-v1/1021

The following might be helpful:

typedef struct
{
    uint32_t extended_can_id;
    uint32_t extended_mask;
} CanardAcceptanceFilterConfig;

CanardAcceptanceFilterConfig canardMakeAcceptanceFilterConfigForSubject(const CanardPortID subject_id);

CanardAcceptanceFilterConfig canardMakeAcceptanceFilterConfigForService(const CanardNodeID local_node_id);
@coderkalyan coderkalyan self-assigned this Jul 18, 2021
pavel-kirienko added a commit that referenced this issue Dec 4, 2021
Adds helper API functions for configuring CAN controller hardware acceptance filters.

Closes #169

Co-authored-by: Pavel Kirienko <pavel.kirienko@gmail.com>
@pavel-kirienko
Copy link
Member Author

Done in #182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants