-
Notifications
You must be signed in to change notification settings - Fork 644
Closed
Labels
Description
Describe the bug
I used the method set_filters to receive the messages of my specified ID,but the first few messages were not what I expected.
To Reproduce
with can.interface.Bus(bustype='vector', channel=2, bitrate=500000,data_bitrate=2000000,app_name="CANoe",fd=True,) as bus:
bus.set_filters([{"can_id": 0x1b1, "can_mask": 0x7FF, "extended": False}])
while True:
msg = bus.recv()
print("recv",msg)
0x1b1 was the only ID that I expect,but I got others such as 0x3ea,0x335 at the beginning.
Expected behavior
I expect to receive the specified messages
Additional context
OS and version: Win10
Python version: 3.8
python-can version:4.3.1
python-can interface/s (if applicable):
Vector / canoe