hardbyte / hardbyte/python-can

How to change SocketCan bitrate at runtime?

未關閉
#549 8 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
Python
星號
1.6k
分支
697
PR 合併指標
30 天內沒有已合併 PR

描述

Dear,

I would like to implement an auto-baud feature in my application. The idea is to probe the bus for incoming messages until we find the right bitrate from a list.

Is it possible to do that using socketcan interface? If so, how could I do that? Do I have to create new bus instances everytime I change the bitrate or can I reuse the same instance?

Thank you!

貢獻指南

開啟貢獻指南

研究方向

先檢視與執行階段變更 bitrate 相關的 SocketCAN 介面和 bus 執行個體生命週期。確認現有的 bus 是否可以重新設定,或是否必須重新建立,然後記錄支援的程序,以及該程序如何讓系統能夠探測多個 bitrate。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
networking
Issue 類型
文件
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。