diff --git a/components/bt/host/nimble/Kconfig.in b/components/bt/host/nimble/Kconfig.in index 48149b0f349..501f0902ff1 100644 --- a/components/bt/host/nimble/Kconfig.in +++ b/components/bt/host/nimble/Kconfig.in @@ -1002,6 +1002,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" diff --git a/components/bt/host/nimble/nimble b/components/bt/host/nimble/nimble index d53d8f2b863..3cacd66e838 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit d53d8f2b8639f5ee858f92d75efa80df6e6e1a52 +Subproject commit 3cacd66e838b03b84b778892b20beef4473e6cd3 diff --git a/components/bt/host/nimble/port/include/esp_nimble_cfg.h b/components/bt/host/nimble/port/include/esp_nimble_cfg.h index e4c095ff2d5..14f7d687152 100644 --- a/components/bt/host/nimble/port/include/esp_nimble_cfg.h +++ b/components/bt/host/nimble/port/include/esp_nimble_cfg.h @@ -1842,6 +1842,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