hardbyte / hardbyte/python-can

Nice to have a "local loopback" bus state

Đang mở
#1,206 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
1.6k
Fork
697
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.