Add support for the more efficient ElmüSoft Candlelight Protocol
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- networking
Direzione di ricerca
Inizia dalla descrizione dettagliata del progetto collegata e dalla demo Python nel ElmüSoft Candlelight 2.5 firmware repository per comprendere il protocollo e le funzionalità richieste. Poi esamina il supporto Candlelight esistente in python-can e determina i punti di ingresso dell'integrazione. Il lavoro è completato quando python-can supporta le funzionalità di trasferimento USB e feedback del nuovo protocollo senza perdere il supporto legacy.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello
The legacy Candlelight protocol from Geschwister Schneider has not been designed very well.
It has several design errors.
The transfer over USB is far from optimal. For each CAN FD packet 80 bytes are transferred over USB no matter how many data bytes the CAN packet has.
There is no useful error feedback and there is no feedback if a Tx packet has been acknowledged on CAN bus.
The legacy Candlelight protocol only sends a FAKE echo back to the host computer, even if the Tx packet has never been sent to CAN bus.
You have a big problem to find out WHY CAN bus does not work without a useful feedback.
Therefore I designed the new ElmüSoft Candlelight 2.5 protocol with lots of improvements, lots of new features and the maximum USB transfer speed that is possible.
I wrote a Python demo application that contains ready-to-use classes that can be copied and pasted into any Python project. They could also be integrated into python-can.
The firmware runs on several CAN bus adapters with STM32G431, STM32G473 and STM32G0B1 processors.
The Python classes were tested on Windows where they use WinUSB and on Linux where they use libusb.
Here you find a detailed description of the entire project:
https://netcult.ch/elmue/CANable%20Firmware%20Update/
The sourcecode is on Github:
https://github.com/Elmue/CANable-2.5-firmware-Slcan-and-Candlelight
The Python demo shows all the functionality of the new firmware:
And here a snippet of my manual with comparison between legacy and ElmüSoft Candlelight protocol in my firmware:
- Lingua principale
- Python
- Stelle
- 1.6k
- Fork
- 715
- Merge medio
- 2g 4h
- PR unite (30g)
- 42
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hardbyte/python-can
-
serial: a frame cut off by the read timeout raises struct.error / TypeError instead of CanOperationErrorForse già presa @aloneangel45 l’ha presa 1 giorno fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
hardbyte/python-can#2157 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
hardbyte/python-can#1922 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
hardbyte/python-can#2159 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
hardbyte/python-can#2121 · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Make socket binding exceptions more debugableForse già presa @vonpanda l’ha presa 57 giorni fa. Apertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
hardbyte/python-can#2104 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di hardbyte/python-can
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 69/100
anderspitman/awesome-tunneling#330 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
521xueweihan/HelloGitHub#4676 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 18 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
pandas-dev/pandas-stubs#2155 ·
I maintainer di solito rispondono entro 1 giorno
-
essreduce
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno