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: host: ISO: Missing terminate reason in ISO disconnected callback #33203

Closed
cvinayak opened this issue Mar 10, 2021 · 0 comments · Fixed by #33682
Closed

Bluetooth: host: ISO: Missing terminate reason in ISO disconnected callback #33203

cvinayak opened this issue Mar 10, 2021 · 0 comments · Fixed by #33682
Assignees
Labels
Enhancement Changes/Updates/Additions to existing features

Comments

@cvinayak
Copy link
Contributor

Is your enhancement proposal related to a problem? Please describe.
An application would like to cancel a prior invocation of bt_iso_big_sync using bt_iso_big_terminate leading to disconnected callback if the function succeeds to cancel.. Without a reason in the disconnected callback, application cannot differentiate a race between local cancellation of sync-in-progress, Remote disconnect by terminate procedure, or Sync loss.

See:
https:/zephyrproject-rtos/zephyr/blob/0445b53cbcaedea446faf3894d4bc20f58660b6d/samples/bluetooth/iso_receive/src/main.c#L343

Describe the solution you'd like
Provide disconnect reason

Describe alternatives you've considered
NA

Additional context
None.

@cvinayak cvinayak added the Enhancement Changes/Updates/Additions to existing features label Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Changes/Updates/Additions to existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants