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


The following commit(s) were added to refs/heads/master by this push:
     new 793cb1612 nimble: Fix the HCI ISO packet lost status value
793cb1612 is described below

commit 793cb161208856bbaa92e8825793fc824e15e206
Author: Mariusz Skamra <[email protected]>
AuthorDate: Mon May 4 11:38:38 2026 +0200

    nimble: Fix the HCI ISO packet lost status value
    
    As per the Core, the Packet_Status_Flag of an HCI ISO Data packet must
    be one of the following: 0b00, 0b01, or 0b10.
    This fixes the BLE_HCI_ISO_PKT_STATUS_LOST value which shall be 0x02
    (0b10).
---
 nimble/include/nimble/hci_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nimble/include/nimble/hci_common.h 
b/nimble/include/nimble/hci_common.h
index 45cbf65a3..7745c9e11 100644
--- a/nimble/include/nimble/hci_common.h
+++ b/nimble/include/nimble/hci_common.h
@@ -2473,7 +2473,7 @@ struct hci_data_hdr
 
 #define BLE_HCI_ISO_PKT_STATUS_VALID    0x00
 #define BLE_HCI_ISO_PKT_STATUS_INVALID  0x01
-#define BLE_HCI_ISO_PKT_STATUS_LOST     0x10
+#define BLE_HCI_ISO_PKT_STATUS_LOST     0x02
 
 #define BLE_HCI_ISO_BIG_HANDLE_MIN      0x00
 #define BLE_HCI_ISO_BIG_HANDLE_MAX      0xEF

Reply via email to