BLE bond deleted after 2 reboots without connectivity to central
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- cpp
- Ambito
- embedded-iot, security
Direzione di ricerca
Riproduci il comportamento con Bluetooth disabilitato sul central e dopo due riavvii di PineTime. Esamina l’issue #796 e il commit 51f62ad096024d45c0274267a90d6adfe58c7c6d per comprendere il comportamento di bonding esistente e il motivo per cui è stato rimosso; il lavoro è concluso quando il comportamento previsto è stabilito e verificato, mantenendo il bond oppure documentando chiaramente la decisione di progettazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Verification
- I searched for similar bug reports (including closed issues) and found none was relevant.
What happened?
After 2 reboots bond was deleted
What should happen instead?
Bond is preserved after any number of reboots
Reproduction steps
- Turn off bluetooth on the central (phone etc.)
- Reboot PineTime
- Reboot PineTime
- Bond now is deleted on the watch
More details?
This behavior is counter-intuitive and likely most InfiniTime users are not aware of this behavior.
Likely this might also have negative impact on security - at least some companion apps (e.g. Gadgetbridge 0.79) will continue to function as before after the bond is deleted on the watch (whether any encrypted pairing is done in this case or all data is transferred unencrypted is an open question).
This is by design (see #796 and 51f62ad096024d45c0274267a90d6adfe58c7c6d ), but why the bond is removed after 2 reboots?
Does existence of the bond have any negative effects? Maybe this could/should be converted into a button under Bluetooth settings (or something like that)?
@evergreen22 Thanks for the BLE bonding functionality! Maybe you know answers to the questions above?
Version
1.14.0
Companion app
Gadgetbrigle, but this will also apply to others
- Lingua principale
- C
- Stelle
- 3.4k
- Fork
- 1.1k
- Merge medio
- 23h 18m
- PR unite (30g)
- 1
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
- 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 InfiniTimeOrg/InfiniTime
-
BLE handlers use length fields from the packet without checking how much data arrivedForse già presa @DustinHab l’ha presa 37 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
InfiniTimeOrg/InfiniTime#2485 ·
-
Unexpected jump back to watch face when button pressedForse già presa @SteveAmor l’ha presa 80 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
InfiniTimeOrg/InfiniTime#2461 · 2 commenti ·
-
Screen doesn't go to sleep after reset countdown appForse già presa @SteveAmor l’ha presa 78 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
InfiniTimeOrg/InfiniTime#2419 · 4 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
InfiniTimeOrg/InfiniTime#2410 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
InfiniTimeOrg/InfiniTime#2407 · 4 commenti ·
Tutte le issue di InfiniTimeOrg/InfiniTime
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
VirusTotal/yara#2255 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
neutralinojs/neutralinojs#1861 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG] Filename sequence expansion (`+`) panics on numeric values exceeding `i32::MAX`Forse già presa @muntasir-396 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
CCExtractor/ccextractor#2402 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
FujiNetWIFI/fujinet-lib#204 ·
I maintainer di solito rispondono entro 1 giorno
-
os:linux
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
mpv-player/mpv#18649 ·
I maintainer di solito rispondono entro 1 giorno