Nimble: Add APIs to handle vs HCI commands and events

This commit is contained in:
Rahul Tank
2023-06-12 16:24:34 +05:30
parent 9b5f3c69a9
commit 7f8ecb218a
3 changed files with 14 additions and 1 deletions

View File

@@ -819,3 +819,9 @@ menu "GAP Service"
Timeout = Value * 10 ms
endmenu
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.

View File

@@ -1700,4 +1700,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