Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Nov 6, 2024

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

@rruuaanng rruuaanng added area: Bluetooth area: Tests Issues related to a particular existing or missing test labels Nov 6, 2024
@Thalley Thalley force-pushed the iso_broadcast_info_validation branch from aa512a1 to e91150e Compare November 6, 2024 16:27
Comment on lines 3351 to 3411
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just in case someone questions the inconsistent prefix; this is what they are called in the BT spec:
image

@Thalley Thalley force-pushed the iso_broadcast_info_validation branch from e91150e to 849e439 Compare November 6, 2024 18:52
@Thalley Thalley force-pushed the iso_broadcast_info_validation branch 3 times, most recently from e75c3ac to 67f50f7 Compare November 6, 2024 21:28
@Thalley Thalley force-pushed the iso_broadcast_info_validation branch 2 times, most recently from a6bf631 to fa3619a Compare November 22, 2024 20:55
@Thalley Thalley self-assigned this Nov 26, 2024
@Thalley Thalley force-pushed the iso_broadcast_info_validation branch from fa3619a to 3628181 Compare January 2, 2025 10:30
@Thalley Thalley force-pushed the iso_broadcast_info_validation branch from 3628181 to da33ebf Compare January 23, 2025 10:45
@Thalley Thalley force-pushed the iso_broadcast_info_validation branch 3 times, most recently from 0aa6194 to 456e3f9 Compare February 12, 2025 13:16
@Thalley Thalley marked this pull request as ready for review February 13, 2025 09:56
@zephyrbot zephyrbot added the area: Bluetooth Host Bluetooth Host (excluding BR/EDR) label Feb 13, 2025
@Thalley Thalley force-pushed the iso_broadcast_info_validation branch from 456e3f9 to 1975376 Compare February 17, 2025 10:29
@Thalley Thalley force-pushed the iso_broadcast_info_validation branch from 1975376 to 08b4bf5 Compare March 9, 2025 21:35
cvinayak
cvinayak previously approved these changes Mar 10, 2025
@Thalley
Copy link
Contributor Author

Thalley commented Mar 24, 2025

Rebased to solve merge conflicts

@Thalley Thalley requested a review from cvinayak March 24, 2025 13:28
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_broadcast_info_validation branch from 63bf7c0 to 11c096e Compare April 7, 2025 08:49
@Thalley Thalley requested a review from Copilot April 7, 2025 08:49
Copy link

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 (4)

tests/bsim/bluetooth/host/iso/bis/src/bis_receiver.c:98

  • [nitpick] Consider adding a descriptive failure message to the assert (e.g., "Expected can_recv to be true") to improve debugging clarity.
TEST_ASSERT(info.can_recv);

tests/bsim/bluetooth/host/iso/bis/src/bis_receiver.c:99

  • [nitpick] Consider adding a descriptive failure message to the assert (e.g., "Expected can_send to be false") to improve debugging clarity.
TEST_ASSERT(!info.can_send);

tests/bsim/bluetooth/host/iso/bis/src/bis_broadcaster.c:115

  • [nitpick] Consider adding a descriptive failure message to the assert (e.g., "Expected can_recv to be false") to improve debugging clarity.
TEST_ASSERT(!info.can_recv);

tests/bsim/bluetooth/host/iso/bis/src/bis_broadcaster.c:116

  • [nitpick] Consider adding a descriptive failure message to the assert (e.g., "Expected can_send to be true") to improve debugging clarity.
TEST_ASSERT(info.can_send);

@Thalley
Copy link
Contributor Author

Thalley commented Apr 22, 2025

@jhedberg can you please review this?

@kartben kartben merged commit 3d9f2d1 into zephyrproject-rtos:main Apr 30, 2025
26 checks passed
@Thalley Thalley deleted the iso_broadcast_info_validation branch April 30, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

6 participants