mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
bluedroid: configurable max gattc cache characteristic count
This commit is contained in:
@@ -134,6 +134,12 @@
|
||||
#endif
|
||||
|
||||
//GATTC CACHE
|
||||
#ifdef CONFIG_BT_GATTC_MAX_CACHE_CHAR
|
||||
#define UC_BT_GATTC_MAX_CACHE_CHAR CONFIG_BT_GATTC_MAX_CACHE_CHAR
|
||||
#else
|
||||
#define UC_BT_GATTC_MAX_CACHE_CHAR 40
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BT_GATTC_CACHE_NVS_FLASH
|
||||
#define UC_BT_GATTC_CACHE_NVS_FLASH_ENABLED CONFIG_BT_GATTC_CACHE_NVS_FLASH
|
||||
#else
|
||||
|
||||
@@ -2247,6 +2247,10 @@ The maximum number of payload octets that the local device can receive in a sing
|
||||
#define BTA_DM_AVOID_A2DP_ROLESWITCH_ON_INQUIRY FALSE
|
||||
#endif
|
||||
|
||||
#ifndef BTA_GATTC_MAX_CACHE_CHAR
|
||||
#define BTA_GATTC_MAX_CACHE_CHAR UC_BT_GATTC_MAX_CACHE_CHAR
|
||||
#endif
|
||||
|
||||
/******************************************************************************
|
||||
**
|
||||
** Tracing: Include trace header file here.
|
||||
|
||||
Reference in New Issue
Block a user