-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Conversation
bb48f42
to
d2209af
Compare
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]>
d2209af
to
9113dd6
Compare
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]>
There was a problem hiding this 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
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.