-
Notifications
You must be signed in to change notification settings - Fork 8.2k
tests: bluetooth: tester: Add ASE ID when configuring codec #99200
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
tests: bluetooth: tester: Add ASE ID when configuring codec #99200
Conversation
alexsven
commented
Nov 11, 2025
- We want to add the ASE ID to a stream as early as possible to make sure the events coming from BTTester to Auto-PTS contains the correct information.
- Previously the events that came before stream_configured would contain ASE ID 0, regardless of actual value.
- Fixes: - BAP/UCL/STR/BV-532-C - BAP/UCL/STR/BV-534-C - Depends on zephyrproject-rtos/zephyr#99200
Thalley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment with an extra newline, but nothing blocking from my side
| } else { | ||
| stream->in_use = false; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment here for others: Streams are allocated in this clause, but in case of error of bt_bap_stream_config we should deallocate them, which is what is being added here.
It could be added a separate commit (and arguably a new function to deallocate could/should have been added), but it's a minor and simple fix that I don't think warrants that much effort.
- We want to add the ASE ID to a stream as early as possible to make sure the events coming from BTTester to Auto-PTS contains the correct information. - Previously the events that came before stream_configured would contain ASE ID 0, regardless of actual value. Signed-off-by: Alexander Svensen <[email protected]>
da538b6 to
311a387
Compare
|


