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: VCP: Allow for multiple vol_ctrl cb registers #65608

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

Thalley
Copy link
Collaborator

@Thalley Thalley commented Nov 22, 2023

Modify the VCP volume controller callbacks to support
multiple registers by making it into a linked list.

This allow for multiple applications to get the information
from procedures or notifications.

*/
int bt_vcp_vol_ctlr_cb_register(struct bt_vcp_vol_ctlr_cb *cb);

/**
* @brief Registers the callbacks used by the Volume Controller.
Copy link
Contributor

Choose a reason for hiding this comment

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

Unregisters

include/zephyr/bluetooth/audio/vcp.h Show resolved Hide resolved
Modify the VCP volume controller callbacks to support
multiple registers by making it into a linked list.

This allow for multiple applications to get the information
from procedures or notifications.

Signed-off-by: Emil Gydesen <[email protected]>
@fabiobaltieri fabiobaltieri merged commit 203949c into zephyrproject-rtos:main Dec 8, 2023
21 checks passed
@Thalley Thalley deleted the vcp_multi_cb branch December 18, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants