-
Notifications
You must be signed in to change notification settings - Fork 7.3k
tests: Bluetooth: ISO: Add validation of broadcast info #80999
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: ISO: Add validation of broadcast info #80999
Conversation
aa512a1
to
e91150e
Compare
include/zephyr/bluetooth/hci_types.h
Outdated
#define BT_HCI_LE_BIG_HANDLE_MIN 0x00 | ||
#define BT_HCI_LE_BIG_HANDLE_MAX 0xEF | ||
#define BT_HCI_LE_BIG_SYNC_DELAY_MIN 0x000030U | ||
#define BT_HCI_LE_BIG_SYNC_DELAY_MAX 0x7FFFFFU | ||
#define BT_HCI_LE_TRANSPORT_LATENCY_BIG_MIN 0x000030U | ||
#define BT_HCI_LE_TRANSPORT_LATENCY_BIG_MAX 0x7FFFFFU |
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.
e91150e
to
849e439
Compare
e75c3ac
to
67f50f7
Compare
a6bf631
to
fa3619a
Compare
fa3619a
to
3628181
Compare
3628181
to
da33ebf
Compare
0aa6194
to
456e3f9
Compare
456e3f9
to
1975376
Compare
1975376
to
08b4bf5
Compare
08b4bf5
to
63bf7c0
Compare
Rebased to solve merge conflicts |
Add validation of the info the application can retrieve by calling bt_iso_chan_get_info. Signed-off-by: Emil Gydesen <[email protected]>
63bf7c0
to
11c096e
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.
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);
@jhedberg can you please review this? |
Add validation of the info the application can retrieve by calling bt_iso_chan_get_info.