hardbyte / hardbyte/python-can

different bitrate for different channels

Open
#1,548 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.6k
Forks
697
PR merge metrics
No merged PRs in 30d

Description

### Is your feature request related to a problem? Please describe.

Currently, the channel in the Bus class interface supports the list/tuple type, but the bitrate type is int. This will result in the same baud rate for all channels when multiple channels are opened.

I want to configure different baud rates for different channels of the same Bus.
![image](https://user-images.githubusercontent.com/59411181/228331191-c0c6ddc8-776a-4ff3-8557-03d079c0b40f.png)
### Describe the solution you'd like

I think the data type of the bitrate interface can extended to support list/tuple types, and is the same as that of channel.
### Describe alternatives you've considered

None
### Additional context

None

### Note
I have not retrieved any similar issure. If there are any duplicates, please let me know and I will close this issure.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.