Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

how to make to not receive all message on can bus? #14

Open
Gligor721 opened this issue Jan 16, 2014 · 1 comment
Open

how to make to not receive all message on can bus? #14

Gligor721 opened this issue Jan 16, 2014 · 1 comment

Comments

@Gligor721
Copy link

i want to make mask and filter to get only message i want?can i make that?

@yegorich
Copy link
Contributor

@Gligor721 this function is still not implemented. Normally you would issue a setsockopt() in C:

/* open filter by default */
fi.can_id = your ID;
fi.can_mask = your mask;

setsockopt(can_sock, SOL_CAN_RAW,
CAN_RAW_FILTER, &fi, sizeof(struct can_filter));

@hannes any plans to implement this functionality?

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

No branches or pull requests

2 participants