hardbyte / hardbyte/python-can

Nice to have a "local loopback" bus state

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

Descripción

### Is your feature request related to a problem? Please describe.
It would be nice to be able to request local loopback mode (for adapters that support it) using a standard API rather than a side-channel based on adapter-specific knowledge.

Local loopback (when supported) is a useful testing tool.

### Describe the solution you'd like
Something along the lines of a LOCAL_LOOPBACK entry in the enum.

Ideally interfaces already reject states they don't support, but perhaps this would also require interfaces to learn to be more picky about state requests?

### Describe alternatives you've considered
Obviously the alternative is private methods on the interface, which seems to be the standard way of dealing with per-interface weirdness already.

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.