Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Oct 8, 2025

Add testing of the CAP handver sample.
It reuses the CAP acceptor sample test, but since handover tests
both unicast and broadcast, it requires additional runtime, so
the other CAP tests have their runtimes increased to 60 seconds.

@Thalley
Copy link
Contributor Author

Thalley commented Oct 8, 2025

Depends on #97192 and #96800

@Thalley Thalley force-pushed the cap_handover_sample_test branch from 1d09a29 to a44124f Compare October 13, 2025 12:17
@Thalley Thalley force-pushed the cap_handover_sample_test branch from a44124f to 3866218 Compare November 5, 2025 12:39
Add CAP handover central sample that exercises the CAP
handover API. It is compatible with the CAP acceptor sample
assuming that the CAP acceptor sample is built with
both unicast and broadcast support. It will continously
switch between unicast and broadcast.

Signed-off-by: Emil Gydesen <[email protected]>
The sample recently started supporting multiple sink ASEs,
but only support a single sink stream. Updated the number of
sink streams supported.

Modified how/when we reset the requested_bis_sync and
FLAG_BROADCAST_SYNC_REQUESTED in the broadcast implementation.

Removed a call to bt_bap_broadcast_sink_delete that would
always fail because it was already deleted.

Modified how/when the total_unicast_rx_iso_packet_count
and total_unicast_tx_iso_packet_count values were reset,
to support a future case of CAP handover.

Signed-off-by: Emil Gydesen <[email protected]>
Renamed total_rx_iso_packet_count to
total_unicast_rx_iso_packet_count to make it consistent
with total_unicast_tx_iso_packet_count.

Signed-off-by: Emil Gydesen <[email protected]>
Add testing of the CAP handver sample.
It reuses the CAP acceptor sample test, but since handover tests
both unicast and broadcast, it requires additional runtime, so
the other CAP tests have their runtimes increased to 60 seconds.

Signed-off-by: Emil Gydesen <[email protected]>
@Thalley Thalley force-pushed the cap_handover_sample_test branch from 3866218 to ae13819 Compare November 28, 2025 12:19
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant