nimble: Allow to configure BLE version 5.4

Adds configuration for Core Specification 5.4
This commit is contained in:
Krzysztof Kopyściński
2023-05-31 09:11:11 +02:00
committed by Andrzej Kaczmarek
parent 8d6cc49505
commit fbf85bf37d
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -2019,6 +2019,7 @@ struct ble_hci_ev_le_subev_subrate_change {
#define BLE_HCI_VER_BCS_5_1 (10)
#define BLE_HCI_VER_BCS_5_2 (11)
#define BLE_HCI_VER_BCS_5_3 (12)
#define BLE_HCI_VER_BCS_5_4 (13)
#define BLE_LMP_VER_BCS_1_0b (0)
#define BLE_LMP_VER_BCS_1_1 (1)
@@ -2033,6 +2034,7 @@ struct ble_hci_ev_le_subev_subrate_change {
#define BLE_LMP_VER_BCS_5_1 (10)
#define BLE_LMP_VER_BCS_5_2 (11)
#define BLE_LMP_VER_BCS_5_3 (12)
#define BLE_LMP_VER_BCS_5_4 (13)
/* selected HCI and LMP version */
#if MYNEWT_VAL(BLE_VERSION) == 50
@@ -2047,6 +2049,9 @@ struct ble_hci_ev_le_subev_subrate_change {
#elif MYNEWT_VAL(BLE_VERSION) == 53
#define BLE_HCI_VER_BCS BLE_HCI_VER_BCS_5_3
#define BLE_LMP_VER_BCS BLE_LMP_VER_BCS_5_3
#elif MYNEWT_VAL(BLE_VERSION) == 54
#define BLE_HCI_VER_BCS BLE_HCI_VER_BCS_5_4
#define BLE_LMP_VER_BCS BLE_LMP_VER_BCS_5_4
#endif
#define BLE_HCI_DATA_HDR_SZ 4
+1 -1
View File
@@ -86,7 +86,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
range: 50, 51, 52, 53, 54
value: 50
BLE_ISO:
description: >