You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2026/10/18 13:29:34 UTC
(mynewt-nimble) 14/16: nimble/ll/test: Initialize Setup ISO Data Path command parameters
This is an automated email from the ASF dual-hosted git repository.
sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 84b1c4170df8afd9db35d5be014bf361c9aa9c5b
Author: Szymon Janc <sz...@codecoup.pl>
AuthorDate: Wed Oct 7 18:34:54 2026 +0200
nimble/ll/test: Initialize Setup ISO Data Path command parameters
Codec ID, Controller Delay and Codec Configuration Length fields were
left uninitialized in ISO transmit test.
Assisted-by: Claude:claude-opus-5-5
---
nimble/controller/test/src/ble_ll_iso.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/nimble/controller/test/src/ble_ll_iso.c b/nimble/controller/test/src/ble_ll_iso.c
index 66b546fe4..2db167feb 100644
--- a/nimble/controller/test/src/ble_ll_iso.c
+++ b/nimble/controller/test/src/ble_ll_iso.c
@@ -194,6 +194,7 @@ TEST_CASE_SELF(test_ll_ist_brd_bv_01_c)
/* 5. The Upper Tester sends an HCI_LE_Setup_ISO_Data_Path command to the IUT.
* 6. The IUT sends an HCI_Command_Complete event to the Upper Tester with Status set to 0x0C.
*/
+ memset(&setup_iso_data_path_cp, 0, sizeof(setup_iso_data_path_cp));
setup_iso_data_path_cp.conn_handle = htole16(conn->handle);
setup_iso_data_path_cp.data_path_dir = 0x00;
setup_iso_data_path_cp.data_path_id = 0x00;