Skip to content

Commit 0f6fcf9

Browse files
ppryga-nordicnashif
authored andcommitted
Bluetooth: hci: Fix wrong values of cte type constants
Wrong values were used for CTE type constants. They were update to comply with BT 5.1 spec. Signed-off-by: Piotr Pryga <[email protected]>
1 parent 175e9d9 commit 0f6fcf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/bluetooth/hci.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,9 +1465,9 @@ struct bt_hci_cp_le_set_cl_cte_tx_enable {
14651465
#define BT_HCI_LE_CTE_LEN_MIN 0x2
14661466
#define BT_HCI_LE_CTE_LEN_MAX 0x14
14671467

1468-
#define BT_HCI_LE_AOA_CTE 0x1
1469-
#define BT_HCI_LE_AOD_CTE_1US 0x2
1470-
#define BT_HCI_LE_AOD_CTE_2US 0x3
1468+
#define BT_HCI_LE_AOA_CTE 0x0
1469+
#define BT_HCI_LE_AOD_CTE_1US 0x1
1470+
#define BT_HCI_LE_AOD_CTE_2US 0x2
14711471

14721472
#define BT_HCI_LE_CTE_COUNT_MIN 0x1
14731473
#define BT_HCI_LE_CTE_COUNT_MAX 0x10

0 commit comments

Comments
 (0)