-
Notifications
You must be signed in to change notification settings - Fork 8.2k
tests: bluetooth: tester: Fix VCS tests #99025
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
base: main
Are you sure you want to change the base?
Conversation
6d8b90d to
b6689e3
Compare
cb0dc63 to
cf08631
Compare
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.
I like the idea overall, as it can provide addition flexibility (required by some VCS tests)
| #define BTP_VCS_VOL_DOWN 0x04 | ||
| #define BTP_VCS_MUTE 0x05 | ||
| #define BTP_VCS_UNMUTE 0x06 | ||
| #define BTP_VCS_REGISTER 0x07 |
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.
I would suggest to make this command contain the parameters (basically every value in struct bt_vcp_vol_rend_register_param except the callbacks), so that it's fully controlled by the upper tester / AutoPTS, instead of relying on some defaults set by the BT Tester. This allows AutoPTS to maintain the same values and behavior between different DUTs.
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.
I agree, and I am currently working on this.
252edc6 to
768a4ee
Compare
Zephyr automatically sets the persisted flag for VCS if the volume is changed after the service is registered. As some of these PTS tests require a set volume with the flag cleared, the initial volume needs to be set before registering VCS. Signed-off-by: Frode van der Meeren <frode.vandermeeren@nordicsemi.no>
768a4ee to
46e44ee
Compare
|



Zephyr automatically sets the persisted flag for VCS if the volume is changed after the service is registered. As some of these PTS tests require a set volume with the flag cleared, the initial volume needs to be set before registering VCS.
This PR is associated with auto-pts/auto-pts#1603