Skip to content

factorysetup: don't skip BLE if already flashed #1500

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

Merged
merged 1 commit into from
Jun 29, 2025

Conversation

benma
Copy link
Collaborator

@benma benma commented Jun 10, 2025

If the BLE boot check failed further below, repeating the factory setup made it report success, as _verify_ble() only checks if the BLE firmware was flashed properly already, and the boot check is skipped in that case.

For now we simply remove this check so every attempt tries the whole BLE setup & verification procedure. To be refactored later.

@benma benma requested a review from NickeZ June 10, 2025 11:54
@NickeZ
Copy link
Collaborator

NickeZ commented Jun 10, 2025

replaced by #1501

Copy link
Collaborator

@NickeZ NickeZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

If the BLE boot check failed further below, repeating the factory
setup made it report success, as _verify_ble() only checks if the BLE
firmware was flashed properly already, and the boot check is skipped
in that case.

For now we simply remove this check so every attempt tries the whole
BLE setup & verification procedure. To be refactored later.
@benma benma merged commit 349779d into BitBoxSwiss:master Jun 29, 2025
32 checks passed
@benma benma deleted the no-skip branch June 29, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants