This is an automated email from the ASF dual-hosted git repository.

janc 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 217e7ff1f nimble: Add option to select Core 6.1
217e7ff1f is described below

commit 217e7ff1f7de6457cb2a23c01714058c14f27aac
Author: Szymon Janc <[email protected]>
AuthorDate: Wed Jul 23 16:44:10 2025 +0200

    nimble: Add option to select Core 6.1
    
    This allows to configure stack as Bluetooth Core 6.1.
---
 nimble/include/nimble/hci_common.h | 5 +++++
 nimble/syscfg.yml                  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/nimble/include/nimble/hci_common.h 
b/nimble/include/nimble/hci_common.h
index 24843de3c..01c3dbc14 100644
--- a/nimble/include/nimble/hci_common.h
+++ b/nimble/include/nimble/hci_common.h
@@ -2379,6 +2379,7 @@ struct ble_hci_ev_le_subev_cs_test_end_complete {
 #define BLE_HCI_VER_BCS_5_3                 (12)
 #define BLE_HCI_VER_BCS_5_4                 (13)
 #define BLE_HCI_VER_BCS_6_0                 (14)
+#define BLE_HCI_VER_BCS_6_1                 (15)
 
 #define BLE_LMP_VER_BCS_1_0b                (0)
 #define BLE_LMP_VER_BCS_1_1                 (1)
@@ -2395,6 +2396,7 @@ struct ble_hci_ev_le_subev_cs_test_end_complete {
 #define BLE_LMP_VER_BCS_5_3                 (12)
 #define BLE_LMP_VER_BCS_5_4                 (13)
 #define BLE_LMP_VER_BCS_6_0                 (14)
+#define BLE_LMP_VER_BCS_6_1                 (15)
 
 /* selected HCI and LMP version */
 #if MYNEWT_VAL(BLE_VERSION) == 50
@@ -2415,6 +2417,9 @@ struct ble_hci_ev_le_subev_cs_test_end_complete {
 #elif MYNEWT_VAL(BLE_VERSION) == 60
 #define BLE_HCI_VER_BCS BLE_HCI_VER_BCS_6_0
 #define BLE_LMP_VER_BCS BLE_LMP_VER_BCS_6_0
+#elif MYNEWT_VAL(BLE_VERSION) == 61
+#define BLE_HCI_VER_BCS BLE_HCI_VER_BCS_6_1
+#define BLE_LMP_VER_BCS BLE_LMP_VER_BCS_6_1
 #else
 #error Unsupported BLE_VERSION selected
 #endif
diff --git a/nimble/syscfg.yml b/nimble/syscfg.yml
index 638a40832..a1948c65d 100644
--- a/nimble/syscfg.yml
+++ b/nimble/syscfg.yml
@@ -87,7 +87,7 @@ syscfg.defs:
             This allows to configure supported Bluetooth Core version. Some
             features may not be available if version is too low. Version is
             integer for easy comparison.
-        range: 50, 51, 52, 53, 54, 60
+        range: 50, 51, 52, 53, 54, 60, 61
         value: 50
     BLE_ISO:
         description: >

Reply via email to