Implement CAN logging with SavvyCAN's 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
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- embedded-iot, networking
Direzione di ricerca
Read the existing CAN debug implementation in core-interface/src/can_debug.rs and trace the board taps, MCP2515 debug mask switching, and publish_can_debug_task mentioned in the issue. Then identify the firmware entry points for vehicle tasks, client disconnects, and command/state queues. Done means SavvyCAN protocol logging sends CAN frames over Wi-Fi, handles disconnect and read-only behavior, validates bus IDs, and accounts for the listed legacy CAN debug path.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We need a way to make it easy to reverse engineer CAN buses from the firmware itself. The idea is to implement SavvyCAN's network protocol and send CAN frames using Wifi. We may need to disable the normal vehicle tasks when using this.
There was already a CAN debug tool that was started to be implemented in the firmware, but it will be easier to just use SavvyCAN instead.
Notes from the audit (old BLE CAN debug, still in main)
- Remove the old BLE CAN-debug path as part of this (or before):
core-interface/src/can_debug.rs,CAN_DEBUG_RX_CHANNEL, the board taps,
MCP2515 debug mask switching, andpublish_can_debug_task. In contracts,
markSetCanDebugEnabled/UpdateCanDebugFilters/CanDebugUpdate
[deprecated = true](append-only rule).
Until then it's reachable by any bonded phone:SetCanDebugEnabledwith
bus_id >= 8panics with a shift overflow in debug builds
(can_debug.rs:73, also:46). Release builds silently wrap. - Lessons for the new version:
- Validate
bus_idagainstMAX_CAN_BUSES/ the configured bus count. - Turn logging off when the client disconnects (the old one stays on).
- With "disable normal vehicle tasks", also force read-only on.
- Keep logging traffic off the shared command/state queues.
- Validate
- Lingua principale
- Rust
- Stelle
- 1
- Fork
- 0
- Merge medio
- 13h 37m
- PR unite (30g)
- 8
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Nessuna 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 OpenCarControls/firmware
-
Refresh stale docsAperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 67/100
OpenCarControls/firmware#35 ·
I maintainer di solito rispondono entro 1 giorno
-
Clean up E-GMP leftoversAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
OpenCarControls/firmware#34 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
OpenCarControls/firmware#31 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
OpenCarControls/firmware#30 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
OpenCarControls/firmware#57 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenCarControls/firmware
Issue simili
-
bug cli p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Telegram and Twitch adapters panic when splitting long messages with multibyte charactersForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
spacedriveapp/spacebot#661 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
project-robius/robrix#1177 ·
I maintainer di solito rispondono entro 1 giorno