feat(nimble): Added LE GATT Security Levels Characteristic

This commit is contained in:
Sumeet Singh
2024-06-24 19:20:51 +05:30
parent 5d0009316a
commit c9337d120b
2 changed files with 11 additions and 0 deletions

View File

@@ -913,6 +913,12 @@ menu "GAP Service"
Peripheral Preferred Connection Parameter: Supervision Timeout
Timeout = Value * 10 ms
config BT_NIMBLE_SVC_GAP_GATT_SECURITY_LEVEL
bool "LE GATT Security Level Characteristic"
default n
help
Enable the LE GATT Security Level Characteristic
endmenu
menu "BLE Services"

View File

@@ -1674,6 +1674,11 @@
CONFIG_BT_NIMBLE_SVC_GAP_PPCP_SUPERVISION_TMO
#endif
#ifndef MYNEWT_VAL_BLE_SVC_GAP_GATT_SECURITY_LEVEL
#define MYNEWT_VAL_BLE_SVC_GAP_GATT_SECURITY_LEVEL \
CONFIG_BT_NIMBLE_SVC_GAP_GATT_SECURITY_LEVEL
#endif
/*** nimble/transport */
#ifndef MYNEWT_VAL_BLE_HCI_TRANSPORT_EMSPI
#define MYNEWT_VAL_BLE_HCI_TRANSPORT_EMSPI (0)