hardbyte / hardbyte/python-can

Implementation of an Auto-Baud

Aberta
#358 2 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement question
Linguagem predominante
Python
Estrelas
1.6k
Forks
697
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hey everyone!

I am currently considering to implement an Auto-Baud switching mechanism (125k, 250k, 500k, 1M Baud)
To do so I would listen on the Bus (maybe with peak-can in PASSIVE mode) and if there is traffic I would see if I am reading error-frames or "valid" messages. If I am only encountering error-frames I would adjust the Baud-Rate to another value chosen from a list of pre-defined rates.

Has anyone already implemented anything similar or had any experience with this specific problem? If you have another suggestion on how to approach this problem I would be happy to hear that too.

Thanks already!

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by reviewing python-can's bus and listener interfaces, focusing on the proposed peak-can passive-mode approach and the candidate rates of 125k, 250k, 500k, and 1M Baud. A complete result would define how traffic and error frames are distinguished and how the baud rate is selected, but the issue does not name files or tests to use.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
embedded-iot, networking
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.