From b1f2ebffef619fa0d54a2437d55cb2ba8bd8748b Mon Sep 17 00:00:00 2001 From: Astha Verma Date: Sat, 22 Aug 2026 03:27:20 +0530 Subject: [PATCH] fix(nimble): Fixed gatt caching crash on disconnect --- components/bt/host/nimble/Kconfig.in | 8 ++++---- components/bt/host/nimble/nimble | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/bt/host/nimble/Kconfig.in b/components/bt/host/nimble/Kconfig.in index a3c7b30ade2..c7e3b617a6d 100644 --- a/components/bt/host/nimble/Kconfig.in +++ b/components/bt/host/nimble/Kconfig.in @@ -434,28 +434,28 @@ menu "GATT / ATT" config BT_NIMBLE_GATT_CACHING_MAX_SVCS int "Maximum number of services per connection" depends on BT_NIMBLE_GATT_CACHING - default 64 + default 8 help Set this option to set the upper limit on number of services per connection to be cached. config BT_NIMBLE_GATT_CACHING_MAX_INCL_SVCS int "Maximum number of included services per connection" depends on BT_NIMBLE_GATT_CACHING - default 64 + default 8 help Set this option to set the upper limit on number of included services per connection to be cached. config BT_NIMBLE_GATT_CACHING_MAX_CHRS int "Maximum number of characteristics per connection" depends on BT_NIMBLE_GATT_CACHING - default 64 + default 58 help Set this option to set the upper limit on number of characteristics per connection to be cached. config BT_NIMBLE_GATT_CACHING_MAX_DSCS int "Maximum number of descriptors per connection" depends on BT_NIMBLE_GATT_CACHING - default 64 + default 58 help Set this option to set the upper limit on number of descriptors per connection to be cached. diff --git a/components/bt/host/nimble/nimble b/components/bt/host/nimble/nimble index 2287c879e85..aefce5e268f 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit 2287c879e8561715fde70ce19fd0bd755884c51a +Subproject commit aefce5e268f8a8e44b873e09e9017736208ce43c