hardbyte / hardbyte/python-can

different bitrate for different channels

Aperta
#1,548 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
1.6k
Fork
697
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.