hardbyte / hardbyte/python-can

filter work incorrect

未关闭
#1,565 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
1.6k
派生
697
PR 合并指标
30 天内没有已合并 PR

描述

### Describe the bug

filter work incorrect when set 0x7xx ids pass can message with canid=0x88 will be received low probability

### To Reproduce

1.set filter info as => can_id=0x7ff can_mask=0x700 extended=false
2.send can message with id=0x88
3.message with canid=0x88 will be received low probability

### Expected behavior

can message with canid=0x88 will not received

### Additional context

OS and version:raspberry
Python version:Python 3.9.2
python-can version:python-can 4.1.0
python-can interface/s (if applicable):socketcan

Traceback and logs

```python
def func():
return "hello, world!"
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。