Hello,
I filter with this function that I call after initialization
res = CANTP_AddFiltering_2016(PCANTP_HANDLE_USBBUS1, 0x16D20097, 0x0x16D20098, false,
PCANTP_CAN_MSGTYPE_EXTENDED);
to read I use this function
res = CANTP_Read_2016(PCANTP_HANDLE_USBBUS1, &rx_msg, NULL, PCANTP_MSGTYPE_NONE);
but the message is not filtered because I receive messages from other identifiers. How to use the filter function?
Thank you
filter receive message
-
- Software Development
- Posts: 305
- Joined: Mon 9. Sep 2013, 12:21
Re: filter receive message
Hello,
You need to enable the white-list filtering mechanism with parameter PCANTP_PARAMETER_FILTER_CAN_ID, as described in the documentation it is not enabled by default.
You need to enable the white-list filtering mechanism with parameter PCANTP_PARAMETER_FILTER_CAN_ID, as described in the documentation it is not enabled by default.
Best regards,
Fabrice
Fabrice