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: ascs: Check subscription state on ASE notification #63737

Merged

Conversation

MariuszSkamra
Copy link
Collaborator

Check whether peer is subscribed for ASE state notification before calling bt_gatt_notify. This handles an assert thrown when the notification failed to be sent.

Fixes: #63728

Check whether peer is subscribed for ASE state notification before
calling bt_gatt_notify. This handles an assert thrown when the
notification failed to be sent.

Fixes: zephyrproject-rtos#63728
Signed-off-by: Mariusz Skamra <[email protected]>
@fabiobaltieri fabiobaltieri added this to the v3.5.0 milestone Oct 12, 2023
@jhedberg
Copy link
Member

@Thalley same with this one and the linked issue being an enhancement. I'll remove the 3.5 milestone for now, but let me know if this is something more than an enhancement.

@jhedberg jhedberg removed this from the v3.5.0 milestone Oct 12, 2023
@Thalley
Copy link
Collaborator

Thalley commented Oct 12, 2023

@MariuszSkamra You raised the issue an enhancement rather than a bug, although an unexpected __ASSERT would mean a bug in my eyes - Do you agree?

@fabiobaltieri fabiobaltieri added this to the v3.6.0 milestone Oct 12, 2023
@MariuszSkamra
Copy link
Collaborator Author

@Thalley @jhedberg looks like the bug label was removed from #63728

@jhedberg
Copy link
Member

@Thalley @jhedberg looks like the bug label was removed from #63728

It had both "bug" and "enhancement", which are mutually exclusive.

@jhedberg jhedberg merged commit 3828f1c into zephyrproject-rtos:main Oct 12, 2023
26 checks passed
@MariuszSkamra MariuszSkamra deleted the ascs_check_subscription_state branch October 12, 2023 21:27
@fabiobaltieri fabiobaltieri modified the milestones: v3.6.0, v3.5.0 Oct 13, 2023
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.

Bluetooth: ASCS: Handle CP/ASE CCC unsubscription
6 participants