Skip to content

Commit b63b993

Browse files
rugeGerritsenkartben
authored andcommitted
Bluetooth: Decode Bluetooth 6.1 version number
Bluetooth 6.1 has version number 0x0F and was released in May 2025. This commit ensures this version number is properly decoded. Going forward we may consider removing printing the version number as a string because the feature set is more important than the version number. Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
1 parent a5dd932 commit b63b993

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
@@ -858,6 +858,7 @@ struct bt_hci_rp_configure_data_path {
858858
#define BT_HCI_VERSION_5_3 12
859859
#define BT_HCI_VERSION_5_4 13
860860
#define BT_HCI_VERSION_6_0 14
861+
#define BT_HCI_VERSION_6_1 15
861862

862863
#define BT_HCI_OP_READ_LOCAL_VERSION_INFO BT_OP(BT_OGF_INFO, 0x0001) /* 0x1001 */
863864
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
@@ -3820,7 +3820,7 @@ const char *bt_hci_get_ver_str(uint8_t core_version)
38203820
{
38213821
const char * const str[] = {
38223822
"1.0b", "1.1", "1.2", "2.0", "2.1", "3.0", "4.0", "4.1", "4.2",
3823-
"5.0", "5.1", "5.2", "5.3", "5.4", "6.0"
3823+
"5.0", "5.1", "5.2", "5.3", "5.4", "6.0", "6.1"
38243824
};
38253825

38263826
if (core_version < ARRAY_SIZE(str)) {

0 commit comments

Comments
 (0)