Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Jun 2, 2022

Updates the broadcast audio babblesim tests to use ISO, as well as fixing a few bugs found along the way.

Fixes #44944

@github-actions github-actions bot added area: Bluetooth area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth Audio area: Tests Issues related to a particular existing or missing test labels Jun 2, 2022
@Thalley Thalley force-pushed the broadcast_audio_test_update branch 3 times, most recently from 4545f02 to cc7b76c Compare June 3, 2022 09:28
@Thalley Thalley marked this pull request as ready for review June 3, 2022 09:28
@zephyrbot zephyrbot requested a review from jori-nordic June 3, 2022 12:24
@Thalley Thalley assigned Thalley and unassigned asbjornsabo Jun 24, 2022
@Thalley Thalley force-pushed the broadcast_audio_test_update branch from cc7b76c to b16b008 Compare June 29, 2022 09:42
@Thalley
Copy link
Contributor Author

Thalley commented Jun 29, 2022

Updated to resolve merge conflicts

@Thalley
Copy link
Contributor Author

Thalley commented Jul 5, 2022

Rebased to solve merge conflicts

@Thalley Thalley force-pushed the broadcast_audio_test_update branch from 141df65 to 7c77566 Compare July 5, 2022 10:27
MariuszSkamra
MariuszSkamra previously approved these changes Jul 6, 2022
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick, redundant newline

@Thalley
Copy link
Contributor Author

Thalley commented Jul 6, 2022

Rebased to solve merge conflicts and fix #46204 (comment)

@Thalley Thalley requested a review from MariuszSkamra July 6, 2022 10:21
Thalley added 5 commits July 6, 2022 13:23
Fix bad state check in biginfo_recv in bass.c which
would cause null-pointer access.

Signed-off-by: Emil Gydesen <[email protected]>
There is a brief period between the bt_iso_big_create
and when the ISO channels are established. In this state
it should be possible to call bt_audio_broadcast_source_stop
to stop the BIG from being created.

Signed-off-by: Emil Gydesen <[email protected]>
Add the state transition from connecting to disconnecting
as a valid transition for ISO. This can occur if a ISO channel
is disconnected before it is fully connected, of if a BIG
or a BIG sync is terminated before established.

Signed-off-by: Emil Gydesen <[email protected]>
Update the broadcast_source_test to actually create the
BIG and send data over ISO.

Signed-off-by: Emil Gydesen <[email protected]>
Update the broadcast_sink_test to use ISO to sync to the
broadcast source BIG, testing both the syncing functionality
as well as the sync stop and delete functions.

Signed-off-by: Emil Gydesen <[email protected]>
@Thalley Thalley force-pushed the broadcast_audio_test_update branch from b4cb568 to 17b8992 Compare July 6, 2022 11:23
Copy link
Contributor

@asbjornsabo asbjornsabo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@carlescufi carlescufi merged commit 4b05d75 into zephyrproject-rtos:main Jul 7, 2022
@Thalley Thalley deleted the broadcast_audio_test_update branch December 1, 2022 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Audio area: Bluetooth Host Bluetooth Host (excluding BR/EDR) area: Bluetooth area: Tests Issues related to a particular existing or missing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LE Audio: Add ISO part to broadcast audio bsim tests

4 participants