Skip to content

Need help to set the HW filters #7

@tetopik

Description

@tetopik

Hi, Straga.
Thank you for making doing car reverse engineering a lot easier using esp32 devices.

I need help to set the hardware filters to accept only certain range of can IDs, in my case I only care for ID 0x18DAF100 through 0x18DAF1FF which only ignore the last 0xFF bytes.

So, tried to applied either one of this line and the result in unexpected:

can.set_filters(bank=0, mode=CAN.FILTER_RAW_SINGLE, params=[0x18DAF100, 0x1FFFFF00], rtr=False, extframe=True)
can.set_filters(bank=0, mode=CAN.FILTER_ADDRESS, params=[0x18DAF100, 0x1FFFFF00], rtr=False, extframe=True)

FILTER_RAW_SINGLE didn't catch anything while FILTER_ADDRESS catch only 0x18DAF100

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