Skip to content

ble: Wait with setting the product string to after orientation #1447

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

Conversation

NickeZ
Copy link
Collaborator

@NickeZ NickeZ commented May 9, 2025

No description provided.

@NickeZ NickeZ requested a review from benma May 9, 2025 11:11
@NickeZ NickeZ force-pushed the nickez/ble-product-after-orientation branch 6 times, most recently from f106e2e to 3341d06 Compare May 9, 2025 13:07
Copy link
Collaborator

@benma benma left a comment

Choose a reason for hiding this comment

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

tACK

benma added a commit to benma/bitbox-wallet-app that referenced this pull request May 12, 2025
Before BitBoxSwiss/bitbox02-firmware#1447,
the product characteristic version string didn't include a 'v' prefix,
but after it does.

The app backend requires it to parse the version.

We handle both cases for backwards compatibility.
@NickeZ NickeZ force-pushed the nickez/ble-product-after-orientation branch 2 times, most recently from 1a5e142 to 8e24f8c Compare May 12, 2025 11:54
usb_processing wasn't being setup until AFTER usb was enabled. This was
a problem beacuse the app is so fast that it manages to send the first
requests over ble before usb is setup.

Since "usb_processing" is unrelated to the usb driver, we initialize it
before we initialize the usb driver.
@NickeZ NickeZ force-pushed the nickez/ble-product-after-orientation branch from 8e24f8c to 1051dc0 Compare May 12, 2025 11:59
@NickeZ NickeZ merged commit 9bb4822 into BitBoxSwiss:staging/ble May 12, 2025
3 checks passed
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