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

basic auracast app #489

Merged
merged 2 commits into from
Jun 12, 2024
Merged

basic auracast app #489

merged 2 commits into from
Jun 12, 2024

Conversation

barbibulle
Copy link
Collaborator

@barbibulle barbibulle commented May 21, 2024

This app is intended to support auracast features. To start with, only scanning for broadcasts is implemented. More functionality, including sending and receiving broadcasts, will be added in future PRs.

bumble/pbp.py Outdated Show resolved Hide resolved
bumble/bap.py Outdated Show resolved Hide resolved
@barbibulle barbibulle changed the title [WIP] basic auracast app basic auracast app May 23, 2024
Squashed commits:
[759372d] address PR comments
[2f2a275] wip
[cc86b98] wip

wip

address PR comments

attempt to fix pandora test
bumble/device.py Show resolved Hide resolved
bumble/device.py Show resolved Hide resolved
Comment on lines +947 to +948
if response.status != HCI_Command_Status_Event.PENDING:
raise HCI_StatusError(response)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could be replaced with send_command(..., check_result=True) (HCI_SUCCESS and HCI_PENDING are both 0)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point! I now realize that there's a bunch of places in the code base where the same idea applies. I'll make a separate PR to unify that.

@barbibulle barbibulle merged commit 7912231 into main Jun 12, 2024
57 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