Skip to content

Can Filters #34

Open
Open
@Wh1terat

Description

@Wh1terat

Hi,
Firstly - thank you for the project, very nicely documented.

Just wondering if you have some examples for CANSetFilter ?
I'm trying to filter messages from ID 0x681 AND the first byte of the message 0x03

So this works fine for filtering all messages from 0x681

  CANSetFilter(0, 1, 0, 0, 0x681 << 21, 0xFFE00000);

So I expected this would work for what I was trying to achieve:

  CANSetFilter(0, 1, 0, 0, 0x68103 << 13, 0xFFFFE000);

But I'm still receiving all messages to 0x681 with this which is odd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions