forked from espressif/esp-idf
fix(nimble): Added
1. Option to disable automatic discovery when receiving out-of-sync 2. Fixed bugs related to robust caching
This commit is contained in:
@ -700,8 +700,16 @@ if BT_NIMBLE_50_FEATURE_SUPPORT
|
|||||||
default 64
|
default 64
|
||||||
help
|
help
|
||||||
Set this option to set the upper limit on number of descriptors per connection to be cached.
|
Set this option to set the upper limit on number of descriptors per connection to be cached.
|
||||||
|
config BT_NIMBLE_GATT_CACHING_DISABLE_AUTO
|
||||||
|
bool "Do not start discovery procedure automatically upon receiving Out of Sync"
|
||||||
|
depends on BT_NIMBLE_GATT_CACHING
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
When client receives ATT out-of-sync error message, it will not automatically start the discovery procedure
|
||||||
|
to correct the invalid cache.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
config BT_NIMBLE_WHITELIST_SIZE
|
config BT_NIMBLE_WHITELIST_SIZE
|
||||||
int "BLE white list size"
|
int "BLE white list size"
|
||||||
depends on BT_NIMBLE_ENABLED
|
depends on BT_NIMBLE_ENABLED
|
||||||
|
@ -158,6 +158,12 @@
|
|||||||
#define MYNEWT_VAL_BLE_GATT_CACHING_MAX_DSCS (0)
|
#define MYNEWT_VAL_BLE_GATT_CACHING_MAX_DSCS (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_BT_NIMBLE_GATT_CACHING_DISABLE_AUTO
|
||||||
|
#define MYNEWT_VAL_BLE_GATT_CACHING_DISABLE_AUTO (CONFIG_BT_NIMBLE_GATT_CACHING_DISABLE_AUTO)
|
||||||
|
#else
|
||||||
|
#define MYNEWT_VAL_BLE_GATT_CACHING_DISABLE_AUTO (0)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MYNEWT_VAL_BLE_GATT_CSFC_SIZE
|
#ifndef MYNEWT_VAL_BLE_GATT_CSFC_SIZE
|
||||||
|
Reference in New Issue
Block a user