This is an automated email from the ASF dual-hosted git repository. andk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 486d43caaf2ea73ad9fdf559922969e8d37f5c5b Author: Andrzej Kaczmarek <andrzej.kaczma...@codecoup.pl> AuthorDate: Thu Feb 20 18:19:31 2025 +0100 nimble/ll: Update HCI supported commands bitmask --- nimble/controller/src/ble_ll_hci_supp_cmd.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nimble/controller/src/ble_ll_hci_supp_cmd.c b/nimble/controller/src/ble_ll_hci_supp_cmd.c index 75155060f..abf292222 100644 --- a/nimble/controller/src/ble_ll_hci_supp_cmd.c +++ b/nimble/controller/src/ble_ll_hci_supp_cmd.c @@ -132,6 +132,14 @@ static const uint8_t octet_28 = OCTET( #endif ); +static const uint8_t octet_32 = OCTET( +#if (MYNEWT_VAL(BLE_LL_ROLE_PERIPHERAL) || MYNEWT_VAL(BLE_LL_ROLE_CENTRAL)) && \ + MYNEWT_VAL(BLE_LL_CFG_FEAT_LE_PING) + BIT(4) /* HCI Read Authenticated Payload Timeout */ + BIT(5) /* HCI Write Authenticated Payload Timeout */ +#endif +); + static const uint8_t octet_33 = OCTET( #if MYNEWT_VAL(BLE_LL_ROLE_PERIPHERAL) || MYNEWT_VAL(BLE_LL_ROLE_CENTRAL) BIT(4) /* HCI LE Remote Connection Parameter Request Reply */ @@ -328,7 +336,7 @@ static const uint8_t g_ble_ll_hci_supp_cmds[64] = { 0, 0, 0, - 0, + octet_32, octet_33, octet_34, octet_35,