Skip to content
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

add BLE tests to prodtest #4645

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Conversation

TychoVrahe
Copy link
Contributor

@TychoVrahe TychoVrahe commented Feb 18, 2025

This PR adds basic BLE tests to prodtest.

Added tests allow starting and stopping advertising, erasing bonds and reading MAC. You can also pair a device, which is autoconfirmend on prodtest side, but no communication is supported now.

For testing purposes, static MAC address is used when advertising from prodtest.

The prodtest wipe function is extended to also perform bond erase.

@TychoVrahe TychoVrahe self-assigned this Feb 18, 2025
Copy link

github-actions bot commented Feb 18, 2025

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3B1 Safe 3 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3T1 Safe 5 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@TychoVrahe TychoVrahe force-pushed the tychovrahe/T3W1/ble_prodtest branch from 94acedf to f096c47 Compare February 18, 2025 15:20
@TychoVrahe TychoVrahe force-pushed the tychovrahe/T3W1/ble_prodtest branch from f096c47 to 5a588e5 Compare February 18, 2025 15:21
@TychoVrahe TychoVrahe marked this pull request as ready for review February 19, 2025 11:34
@TychoVrahe TychoVrahe requested a review from prusnak as a code owner February 19, 2025 11:34
@TychoVrahe TychoVrahe requested review from cepetr and removed request for prusnak February 19, 2025 11:34
@TychoVrahe TychoVrahe marked this pull request as draft February 20, 2025 10:49
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