Skip to content

Bluetooth: CAP: Implement handover procedures #85642

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

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

Conversation

Thalley
Copy link
Collaborator

@Thalley Thalley commented Feb 12, 2025

Implements the handover procedures, as per the Bluetooth CAP specificiation.

Fixes #47313

@Thalley Thalley force-pushed the cap_handover branch 3 times, most recently from 4ef45c7 to ae9d7b8 Compare April 7, 2025 13:14
@Thalley Thalley force-pushed the cap_handover branch 2 times, most recently from b233435 to 3157de2 Compare May 7, 2025 20:51
@Thalley Thalley force-pushed the cap_handover branch 11 times, most recently from d331e58 to dbe3d65 Compare May 23, 2025 15:47
Thalley added 2 commits May 23, 2025 18:12
Adds a new abstract struct for unicast group that is
specific for CAP. The difference between this and the BAP
unicast group, is that the parameters are CAP streams and
thus ensuring that the streams in the group adhere to the
additional requirements that CAP has on top of BAP.

This also adds foreach functions for both CAP and BAP
to allow users to iterate on the streams in the
abstract groups.

Various samples, modules and tests have been updated
to use the CAP struct and API.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
The bt_le_ext_adv_info struct has been extended to also
contain the advertising and periodic advertising states.

Additionally, the function verifies the input to avoid
NULL pointer access, and the addr field is more
properly documented.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Thalley added 2 commits May 24, 2025 16:34
Add a common function, start_broadcast_adv, to start
broadcast advertisement in the LE Audio BSIM tests.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Add a common definition of the TEST_SAMPLE_SIRK used by
the BSIM tests.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
@Thalley Thalley force-pushed the cap_handover branch 2 times, most recently from 690db3b to 096bb4b Compare May 24, 2025 16:26
Implement the unicast to broadcast handover procedure,
as per the Bluetooth CAP specificiation.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Copy link

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.

LE Audio: CAP Initiator audio handover Implementation
1 participant