Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Dec 4, 2025

Some of the BAP broadcast functions was missing a check for allocated.

Adding the checks exposed a bug in the CAP commands where the broadcasts were never actually allocated. Since there is not a command for that in CAP, a workaround has been implemented to use the first command (setup_stream) to allocate a BAP broadcast with a dummy broadcast ID.

Some of the BAP broadcast functions was missing a check for
allocated.

Adding the checks exposed a bug in the CAP commands where
the broadcasts were never actually allocated. Since there
is not a command for that in CAP, a workaround has been
implemented to use the first command (setup_stream) to
allocate a BAP broadcast with a dummy broadcast ID.

Signed-off-by: Emil Gydesen <[email protected]>
@Thalley Thalley force-pushed the btp_cap_broadcast_workaround branch from 1e3943f to 1f0dc3f Compare December 4, 2025 14:52
@Thalley Thalley marked this pull request as ready for review December 4, 2025 15:15
@Thalley
Copy link
Contributor Author

Thalley commented Dec 4, 2025

#AutoPTS run zephyr CAP/INI/BST

@zephyrbot zephyrbot added area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth Audio labels Dec 4, 2025
@zephyrbot zephyrbot added area: Tests Issues related to a particular existing or missing test area: Bluetooth labels Dec 4, 2025
@codecoup-tester
Copy link

Scheduled PR #100534 (comment), board: nrf54, estimated start time: 16:18:09, test case count: 12, estimated duration: 0:13:10

Test cases to be runCAP/INI/BST/BV-01-C
CAP/INI/BST/BV-02-C
CAP/INI/BST/BV-05-C
CAP/INI/BST/BV-06-C
CAP/INI/BST/BV-07-C
CAP/INI/BST/BV-11-C
CAP/INI/BST/BV-12-C
CAP/INI/BST/BV-13-C
CAP/INI/BST/BV-14-C
CAP/INI/BST/BV-15-C
CAP/INI/BST/BV-16-C
CAP/INI/BST/BV-17-C

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2025

@codecoup-tester
Copy link

AutoPTS Bot results:
No failed test found.

Successful tests (17)CAP CAP/INI/BST/BV-01-C PASS
CAP CAP/INI/BST/BV-02-C PASS
CAP CAP/INI/BST/BV-03-C PASS
CAP CAP/INI/BST/BV-04-C PASS
CAP CAP/INI/BST/BV-05-C PASS
CAP CAP/INI/BST/BV-06-C PASS (2)
CAP CAP/INI/BST/BV-07-C PASS
CAP CAP/INI/BST/BV-08-C PASS
CAP CAP/INI/BST/BV-09-C PASS
CAP CAP/INI/BST/BV-10-C PASS
CAP CAP/INI/BST/BV-11-C PASS
CAP CAP/INI/BST/BV-12-C PASS
CAP CAP/INI/BST/BV-13-C PASS
CAP CAP/INI/BST/BV-14-C PASS
CAP CAP/INI/BST/BV-15-C PASS
CAP CAP/INI/BST/BV-16-C PASS
CAP CAP/INI/BST/BV-17-C PASS

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: In Review

Development

Successfully merging this pull request may close these issues.

4 participants