mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'bugfix/add_dis_ieee_udi_to_config_v5.2' into 'release/v5.2'
fix(nimble): Add option to disable IEEE and UDI Characteristic in DIS (v5.2) See merge request espressif/esp-idf!50764
This commit is contained in:
@@ -908,6 +908,20 @@ menu "Services"
|
||||
help
|
||||
Enable the DIS PnP ID characteristic
|
||||
|
||||
config BT_NIMBLE_SVC_DIS_IEEE
|
||||
depends on BT_NIMBLE_DIS_SERVICE
|
||||
bool "IEEE"
|
||||
default y
|
||||
help
|
||||
Enable the DIS IEEE characteristic
|
||||
|
||||
config BT_NIMBLE_SVC_DIS_UDI
|
||||
depends on BT_NIMBLE_DIS_SERVICE
|
||||
bool "UDI"
|
||||
default y
|
||||
help
|
||||
Enable the DIS UDI characteristic
|
||||
|
||||
config BT_NIMBLE_SVC_DIS_INCLUDED
|
||||
depends on BT_NIMBLE_DIS_SERVICE
|
||||
bool "DIS as an Included Service"
|
||||
|
||||
Submodule components/bt/host/nimble/nimble updated: 95de9ac150...7b0d4a7f66
@@ -1833,6 +1833,18 @@
|
||||
#define MYNEWT_VAL_BLE_SVC_DIS_PNP_ID_READ_PERM (-1)
|
||||
#endif
|
||||
|
||||
#if CONFIG_BT_NIMBLE_SVC_DIS_IEEE
|
||||
#define MYNEWT_VAL_BLE_SVC_DIS_IEEE_READ_PERM (0)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_SVC_DIS_IEEE_READ_PERM (-1)
|
||||
#endif
|
||||
|
||||
#if CONFIG_BT_NIMBLE_SVC_DIS_UDI
|
||||
#define MYNEWT_VAL_BLE_SVC_DIS_UDI_READ_PERM (0)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_SVC_DIS_UDI_READ_PERM (-1)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_SVC_DIS_INCLUDED
|
||||
#define MYNEWT_VAL_BLE_SVC_DIS_INCLUDED (CONFIG_BT_NIMBLE_SVC_DIS_INCLUDED)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user