Skip to content

Commit f7d426b

Browse files
alexstanoev-nordicPavelVPV
authored andcommitted
[nrf fromtree] Bluetooth: Decode Bluetooth 6.2 version number
Bluetooth 6.2 has version number 0x10 and was released in November 2025. This commit ensures this version number is properly decoded. Signed-off-by: Aleksandar Stanoev <[email protected]> (cherry picked from commit 9d06fca) Signed-off-by: Pavel Vasilyev <[email protected]>
1 parent 13ce8df commit f7d426b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

include/zephyr/bluetooth/hci_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,7 @@ struct bt_hci_rp_configure_data_path {
913913
#define BT_HCI_VERSION_5_4 13
914914
#define BT_HCI_VERSION_6_0 14
915915
#define BT_HCI_VERSION_6_1 15
916+
#define BT_HCI_VERSION_6_2 16
916917

917918
#define BT_HCI_OP_READ_LOCAL_VERSION_INFO BT_OP(BT_OGF_INFO, 0x0001) /* 0x1001 */
918919
struct bt_hci_rp_read_local_version_info {

subsys/bluetooth/host/hci_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3963,7 +3963,7 @@ const char *bt_hci_get_ver_str(uint8_t core_version)
39633963
{
39643964
const char * const str[] = {
39653965
"1.0b", "1.1", "1.2", "2.0", "2.1", "3.0", "4.0", "4.1", "4.2",
3966-
"5.0", "5.1", "5.2", "5.3", "5.4", "6.0", "6.1"
3966+
"5.0", "5.1", "5.2", "5.3", "5.4", "6.0", "6.1", "6.2"
39673967
};
39683968

39693969
if (core_version < ARRAY_SIZE(str)) {

0 commit comments

Comments
 (0)