feat(nimble): Add APIs to handle vs HCI commands and events

This commit is contained in:
Rahul Tank 2024-04-02 12:49:03 +05:30
parent 6da2547588
commit 94bc0df521
3 changed files with 15 additions and 2 deletions

View File

@ -650,3 +650,9 @@ config BT_NIMBLE_HOST_QUEUE_CONG_CHECK
When scanning and scan duplicate is not enabled, if there are a lot of adv packets around
or application layer handling adv packets is slow, it will cause the controller memory
to run out. if enabled, adv packets will be lost when host queue is congested.
config BT_NIMBLE_VS_SUPPORT
bool "Enable support for VSC and VSE"
help
This option is used to enable support for sending Vendor Specific HCI commands and handling
Vendor Specific HCI Events.

@ -1 +1 @@
Subproject commit edb20db9c700ccc65b73fe41ac0924693f0eb74f
Subproject commit 9b6f0afa018487e54658538b00a5c3774e3f4949

View File

@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@ -1635,4 +1635,11 @@
#endif
#endif
#ifndef MYNEWT_VAL_BLE_HCI_VS
#define MYNEWT_VAL_BLE_HCI_VS CONFIG_BT_NIMBLE_VS_SUPPORT
#define MYNEWT_VAL_BLE_HCI_VS_OCF_OFFSET (0)
#else
#define MYNEWT_VAL_BLE_HCI_VS (0)
#endif
#endif