Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

TODO: Implement Candlelight 2.5 protocol

Aberta
#2,016 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python

Direção de pesquisa

Leia a descrição detalhada do protocolo CANable 2.5 na URL vinculada e estude a demonstração em Python mencionada na issue. Em seguida, encontre os pontos de integração existentes do protocolo em python-can e defina o escopo da implementação com base nessas referências; considera-se concluído quando PythonCAN oferecer suporte ao protocolo Candlelight aprimorado e aos recursos descritos nele.

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

Descrição

enhancement

The legacy gs_usb protocol from Geschwister Schneider is obsolete now.
It has several misdesigns.

CAN FD packets are always transferred as 80 bytes over USB, even if the CAN packet has only one data byte.
This misdesign limits the USB throughput unnecessarily.
On a CAN bus with very much traffic you may get USB buffer overflows.

Additionally the legacy Geschwiser Schneider protocol echoes all Tx packets back over USB.
The 80 bytes are sent from the adapter back to the host computer, again limiting the USB throughput unnecessarily.

And there are several bugs in the legacy Candlelight firmware.
The automatic driver installation does not work on Windows because of bugs.

And there is no legacy Candlelight firmware for the STM32G431 processor with CAN FD support available, although this is standard today.

The new open source CANable 2.5 firmware fixes all these issues, optimizes the USB throughput to the maximum that is possible over a slow Full Speed USB connection and adds lots of new features.

The CANable 2.5 firmware has been tested successfully up to 10 Megabud CAN FD.

The new CANable 2.5 firmware (which exists as Candlelight and Slcan version) implements an improved Candlelight protocol and adds new features like filters, measuring bus load,....

So implementing the new CANable 2.5 protocol into PythonCAN would be a great benefit for all users.

Read the detailed description here:
https://netcult.ch/elmue/CANable%20Firmware%20Update

In this project you also find a Python demo that you can integrate into PythonCAN.

Image Image
Linguagem predominante
Python
Estrelas
1.6k
Forks
697
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de hardbyte/python-can

Todas as issues de hardbyte/python-can

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

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