hardbyte / hardbyte/python-can
DLC value usage/definition not according to ISO11898
- Linguagem predominante
- Python
- Estrelas
- 1.6k
- Forks
- 697
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
While reading the standards and checking the ixxat interface for fd support, I've seen that the definition of the dlc of the message class in not as in the ISO standard and not as the common unterstanding is.
The length of the data is already encoded in the message data itself, so storing it additionally is reduntant and may lead to errors.
As well the behavior of the classes regarding the data and dlc is somewhat undefinded.
So please agree, that the dlc should be used as in the ISO standard. With the folloeing definitions:
dlc | length of data
0 .. 8 | 0 .. 8
9 | 12
10 | 16
11 | 20
12 | 24
13 | 32
14 | 48
15 | 64
Guia de contribuição
Direção de pesquisa
Nenhum arquivo, teste ou ponto de entrada foi indicado. Comece localizando as classes de mensagens e o tratamento de DLC e dados delas; em seguida, compare o comportamento com a tabela ISO 11898 nesta issue. Considera-se concluído quando as classes usam consistentemente o mapeamento especificado de DLC para comprimento dos dados, sem valores redundantes ou conflitantes.
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
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 28/100