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

Bluetooth: CAP: Shell: Add proper broadcast commands #68550

Merged
merged 1 commit into from Mar 12, 2024

Conversation

Thalley
Copy link
Collaborator

@Thalley Thalley commented Feb 5, 2024

Adds additional broadcast commands and modifies the existing ones to use the CAP API.

fixes #55511

@@ -48,7 +48,8 @@ Using the CAP Initiator
=======================

When the Bluetooth stack has been initialized (:code:`bt init`), the Initiator can discover CAS and
the optionally included CSIS instance by calling (:code:`cap_initiator discover`).
the optionally included CSIS instance by calling (:code:`cap_initiator discover`). The CAP initiator
also does broadcast audio.
Copy link
Contributor

@larsgk larsgk Feb 6, 2024

Choose a reason for hiding this comment

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

" ..source"? (might be implicit, but better to be specific to avoid confusion)

data_array[ad_len].type = BT_DATA_SVC_DATA16;
data_array[ad_len].data_len = base_buf.len;
data_array[ad_len].data = base_buf.data;
ad_len++;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest that you change this so that it does not use an incremented variable in this way. This would make it a bit clearer I believe.

Adds additional broadcast commands and modifies the existing
ones to use the CAP API.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
@fabiobaltieri fabiobaltieri merged commit 8f0e648 into zephyrproject-rtos:main Mar 12, 2024
20 checks passed
@Thalley Thalley deleted the cap_shell_broadcast branch March 12, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

LE Audio: CAP broadcast shell commands
7 participants