fix(nimble): Added missing api in nimble which present in bluedroid

This commit is contained in:
Astha Verma
2025-06-30 14:00:11 +05:30
parent ab49f68409
commit 0181cbd3ca
7 changed files with 150 additions and 4 deletions

View File

@@ -794,6 +794,12 @@ config BT_NIMBLE_GATT_CACHING_DISABLE_AUTO
help
When client receives ATT out-of-sync error message, it will not automatically start the discovery procedure
to correct the invalid cache.
config BT_NIMBLE_GATT_CACHING_ASSOC_ENABLE
bool "Enable association-based GATT caching"
depends on BT_NIMBLE_GATT_CACHING
default n
help
Enable this option to use associated address caching instead of performing service discovery.
config BT_NIMBLE_WHITELIST_SIZE
int "BLE white list size"

View File

@@ -196,6 +196,14 @@
#define MYNEWT_VAL_BLE_GATT_CACHING_DISABLE_AUTO (0)
#endif
#ifndef MYNEWT_VAL_BLE_GATT_CACHING_ASSOC_ENABLE
#ifdef CONFIG_BT_NIMBLE_GATT_CACHING_ASSOC_ENABLE
#define MYNEWT_VAL_BLE_GATT_CACHING_ASSOC_ENABLE (CONFIG_BT_NIMBLE_GATT_CACHING_ASSOC_ENABLE)
#else
#define MYNEWT_VAL_BLE_GATT_CACHING_ASSOC_ENABLE (0)
#endif
#endif
#endif
#ifndef MYNEWT_VAL_BLE_GATT_CSFC_SIZE