Skip to content

tests: Bluetooth: ISO: Add validation of unicast info #81029

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Thalley
Copy link
Collaborator

@Thalley Thalley commented Nov 6, 2024

Add validation of the info the application can retrieve by calling bt_iso_chan_get_info.

@Thalley Thalley force-pushed the iso_unicast_info_validation branch 2 times, most recently from 6b89acc to b3c1e05 Compare November 6, 2024 21:28
@Thalley Thalley force-pushed the iso_unicast_info_validation branch 2 times, most recently from 9942c46 to ec4105b Compare November 22, 2024 20:55
@Thalley Thalley self-assigned this Nov 26, 2024
@Thalley Thalley force-pushed the iso_unicast_info_validation branch from ec4105b to ed46fef Compare January 2, 2025 10:30
@Thalley Thalley force-pushed the iso_unicast_info_validation branch from ed46fef to 85730cf Compare January 23, 2025 10:46
@Thalley Thalley force-pushed the iso_unicast_info_validation branch from 85730cf to 63c688a Compare February 17, 2025 10:29
@Thalley Thalley force-pushed the iso_unicast_info_validation branch 2 times, most recently from 914d1d5 to acc88d1 Compare March 13, 2025 10:01
@Thalley Thalley force-pushed the iso_unicast_info_validation branch 2 times, most recently from b41ce81 to bd3ab72 Compare March 24, 2025 16:24
Add validation of the info the application can retrieve by
calling bt_iso_chan_get_info.

Signed-off-by: Emil Gydesen <[email protected]>
@Thalley Thalley force-pushed the iso_unicast_info_validation branch from bd3ab72 to f6525a7 Compare April 7, 2025 08:50
@Thalley Thalley requested a review from Copilot April 7, 2025 08:50
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

tests/bsim/bluetooth/host/iso/cis/src/cis_central.c:270

  • [nitpick] Consider renaming 'set_cig_defaults' to 'init_cig_param_defaults' to clarify that it initializes the global cig_param and resets all default values.
static void set_cig_defaults(void)

tests/bsim/bluetooth/host/iso/cis/src/cis_central.c:153

  • [nitpick] Verify that the assertion checking 'info.iso_interval % cig_param.c_to_p_interval' correctly reflects the intended relationship between the ISO interval and the SDU interval. Its behavior differs from the peripheral test where flush_timeout is validated, so ensure both tests consistently enforce the correct parameter relationship.
TEST_ASSERT((info.iso_interval % cig_param.c_to_p_interval) == 0U,

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