Open the pairing window from a validated phone

Aperta
#85 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start with #54 and #74 to learn how bonds and validated phones work today, then find where pairing_window_seconds and the existing pairing-window logic live in the firmware. The new system command also needs a message in the contracts crate. Do not start until the device-management design is settled and the app has a UI for it. Done means a validated phone can open the pairing window and add a phone without touching the board.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Part of #9. Follow-up to #54 and #74.

Problem
A buttonless board only opens its pairing window at first setup or after a #54 bond reset. Adding a second phone, or replacing one, means resetting every bond.

Proposal

  • A system command, accepted only from a phone validated for the identified car (#74), opens the pairing window for pairing_window_seconds. A merely bonded phone can't, so it can't let in more phones.
  • Phone management (RemovePairedPhone, ClearPairedPhones) follows the #74 rules instead of needing an open window.
  • Needs a message in contracts and a screen in the app; wait until the app has a proper device-management UI.

Done when
The owner can add a phone from a validated phone, without touching the device.

Lingua principale
Rust
Stelle
1
Fork
0
Merge medio
13h 27m
PR unite (30g)
31

Preparare l'ambiente

Apri in Codespaces

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenCarControls/firmware

Tutte le issue di OpenCarControls/firmware

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.