hardbyte / hardbyte/python-can
Assigning Can Filters for mcp2515 CAN bus module on python
未关闭
- 主要语言
- Python
- 星标
- 1.6k
- 派生
- 697
- PR 合并指标
- 30 天内没有已合并 PR
描述
so I am using the following method to filter messages between 2 controllers,but the issue with this method is that I can only filter up to 5
can_ids, so I was wondering if there is a better method to do that, knowing I am quite new to this and to python even.
bus.set_filters([{"can_id": 0x591, "can_mask": 0xFFFFFFF, "extended": False},\
{"can_id": 0x592"can_mask": 0xFFFFFFF, "extended": False},\
{"can_id": 0x593, "can_mask": 0xFFFFFFF, "extended": False},\
{"can_id": 0x594, "can_mask": 0xFFFFFFF, "extended": False},\
{"can_id": 0x595, "can_mask": 0xFFFFFFF, "extended": False}])
贡献指南
评估
这个 Issue 还没有评估数据。