Skip to content

Conversation

@alexsven
Copy link
Contributor

  • 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.

@zephyrbot zephyrbot added area: Bluetooth area: Bluetooth Audio area: Tests Issues related to a particular existing or missing test labels Nov 11, 2025
@zephyrbot zephyrbot added the area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests label Nov 11, 2025
alexsven added a commit to alexsven/auto-pts that referenced this pull request Nov 11, 2025
- Fixes:
 - BAP/UCL/STR/BV-532-C
 - BAP/UCL/STR/BV-534-C
- Depends on zephyrproject-rtos/zephyr#99200
Thalley
Thalley previously approved these changes Nov 11, 2025
Copy link
Contributor

@Thalley Thalley left a 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

Comment on lines +1277 to +1279
} else {
stream->in_use = false;
}
Copy link
Contributor

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]>
@sonarqubecloud
Copy link

@jhedberg jhedberg added this to the v4.4.0 milestone Nov 13, 2025
@jhedberg jhedberg merged commit c4ab06b into zephyrproject-rtos:main Nov 13, 2025
22 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in Bluetooth LE Audio Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Audio area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth area: Tests Issues related to a particular existing or missing test

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants