hardbyte / hardbyte/python-can

Assigning Can Filters for mcp2515 CAN bus module on python

Abierto
#1,190 6 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
1.6k
Forks
697
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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}])

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.