CAN-Bus API multiple filter configuration
Posted: Wed Aug 15, 2018 2:21 pm
I see that a few days ago a new commit was made to the idf that included a driver for the CAN-bus module
I already tested it and it works well but I couldn't find out how to set multiple acceptance filters
currently I am using
and filtering per software.
And I understand how to use a single filter based on this. But how do I implement multiple filters, for a list of ids?
could someone provide me with a small example?
Thanks
I already tested it and it works well but I couldn't find out how to set multiple acceptance filters
currently I am using
Code: Select all
#define CAN_FILTER_CONFIG_ACCEPT_ALL() {.acceptance_code = 0, .acceptance_mask = 0xFFFFFFFF, .single_filter = true}
And I understand how to use a single filter based on this. But how do I implement multiple filters, for a list of ids?
could someone provide me with a small example?
Thanks