hardbyte / hardbyte/python-can

Nice to have a "local loopback" bus state

Offen
#1,206 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
1.6k
Forks
697
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.