Skip to content

disconnect BLE on bond erase #5594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: tychovrahe/ble/bond_management
Choose a base branch
from

Conversation

TychoVrahe
Copy link
Contributor

@TychoVrahe TychoVrahe commented Aug 20, 2025

This PR fixes an unexpected behavior which caused BLE central to stay connected when its bond was deleted on Trezor. We now force a disconnect of the device which bond is deleted.

When doing factory reset, answer to host is send prior to deleting bonds, as the connection will be dropped and no (BLE) communication is possible.

@TychoVrahe TychoVrahe self-assigned this Aug 20, 2025
@github-project-automation github-project-automation bot moved this to 🔎 Needs review in Firmware Aug 20, 2025
Copy link

github-actions bot commented Aug 20, 2025

en main(all)

model device_test click_test persistence_test
T2T1 test(all) main(all) test(all) main(all) test(all) main(all)
T3B1 test(all) main(all) test(all) main(all) test(all) main(all)
T3T1 test(all) main(all) test(all) main(all) test(all) main(all)
T3W1 test(all) main(all) test(all) main(all) test(all) main(all)

Latest CI run: 17097056311

@TychoVrahe TychoVrahe force-pushed the tychovrahe/ble/disconnect_on_erase branch from 8b07062 to 8bc361c Compare August 20, 2025 11:29
@TychoVrahe TychoVrahe marked this pull request as ready for review August 20, 2025 12:44
@TychoVrahe TychoVrahe requested a review from kopecdav August 20, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔎 Needs review
Development

Successfully merging this pull request may close these issues.

1 participant