Skip to content
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: Audio: Use ext adv for all connectable adv #83761

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

Thalley
Copy link
Collaborator

@Thalley Thalley commented Jan 9, 2025

Most specs require the use of extended advertising, and most tests used legacy advertising.

Implement a common function to create and start an extended advertising set to reduce code duplication.

@Thalley Thalley force-pushed the audio_bsim_ext_adv branch 3 times, most recently from bb48f42 to d2209af Compare January 10, 2025 10:06
Most specs require the use of extended advertising, and most
tests used legacy advertising.

Implement a common function to create and start an extended
advertising set to reduce code duplication.

Signed-off-by: Emil Gydesen <[email protected]>
@Thalley Thalley force-pushed the audio_bsim_ext_adv branch from d2209af to 9113dd6 Compare January 10, 2025 12:37
Instead of using rs=1,2,3 and 4 we make it 10, 20, 30, 40 as the
other values could cause some connection issues.

Signed-off-by: Emil Gydesen <[email protected]>
Copy link
Member

@aescolar aescolar left a comment

Choose a reason for hiding this comment

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

+1

@@ -18,19 +18,19 @@ SIMULATION_ID="csip"

Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=csip_set_coordinator \
-RealEncryption=1 -rs=1 -D=4
-RealEncryption=1 -rs=10 -D=4
Copy link
Member

Choose a reason for hiding this comment

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

Is this to avoid some controller issue? or just very unlucky connections timing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah. The old values failed to connect any of the peripherals on the nRF53 (but did work on the nRF52). @cvinayak has been made aware of this, but easier to adjust timing than to wait for a potential controller change

@Thalley Thalley assigned Thalley and unassigned aescolar Jan 14, 2025
@kartben kartben merged commit 7d24771 into zephyrproject-rtos:main Jan 20, 2025
33 checks passed
@Thalley Thalley deleted the audio_bsim_ext_adv branch January 20, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants