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

CIS and SCO responder support #344

Merged
merged 2 commits into from
Nov 30, 2023
Merged

CIS and SCO responder support #344

merged 2 commits into from
Nov 30, 2023

Conversation

zxzxwu
Copy link
Collaborator

@zxzxwu zxzxwu commented Nov 27, 2023

No description provided.

bumble/host.py Outdated
if event.status == HCI_SUCCESS:
self.emit('cis_established', event.connection_handle)
else:
self.emit('cis_established_failure', event.connection_handle, event.status)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think cis_establishment_failure would be a better name for this.

bumble/device.py Show resolved Hide resolved
@zxzxwu
Copy link
Collaborator Author

zxzxwu commented Nov 30, 2023

I found I added too much SCO item in this PR which makes it pretty big, so I decide to merge this PR first and then improve the SCO support in another PR.

TODO for SCO:

  • Saparate SCO from on_connectino_request - Despite HCI_Accept_Connection also handles SCO, there isn't enough connection parameters provided, and the returned events would be unstable as well (might be HCI_Conn_Comp).
  • Device API
  • Host side lifecycle(+CIS)

@zxzxwu zxzxwu changed the title [WIP] CIS and SCO responder support CIS and SCO responder support Nov 30, 2023
@zxzxwu zxzxwu marked this pull request as ready for review November 30, 2023 13:00
@zxzxwu zxzxwu merged commit 86a19b4 into google:main Nov 30, 2023
51 checks passed
@zxzxwu zxzxwu deleted the cis branch December 2, 2023 15:38
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.

None yet

2 participants