Skip to content

Kvaser can_filter not working. #1413

Closed
@dhje0ng

Description

@dhje0ng

I did the filtering by specifying a range to filter out specific CAN ID.
As a result, it was impossible to obtain by filtering CAN messages within the desired range.

python-can doesn't seem to do that well.
The filtering range of CAN message I want is 0x600 ~ 0x6FF.
However, even if the filtering is implemented as Another out-of-range CAN message is being received.

can_filters = [{"can_id": 0x600, "can_mask": 0x6FF, "extended": False}]
bus = can.ThreadSafeBus(bustype=driver, channel=channel, bitrate=bitrate, data_bitrate=data_bitrate, \
                fd=True, accept_virtual=False, can_filters=can_filters)

but, This is not the result I want. out of range.
If filtering is applied, I think the desired result should be output within the range of 0x600 ~ 0x6FF

I'm using it Kvaser Driver.

Can i solve this problem?

스크린샷 2022-10-20 오전 10 30 07

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions