forked from espressif/esp-idf
component/bt: enlarge GATT related data size to remove the log of error "GATT Stack failed"
This commit is contained in:
@@ -78,12 +78,12 @@ typedef UINT16 tBTA_GATTC_INT_EVT;
|
|||||||
|
|
||||||
/* max client application GATTC can support */
|
/* max client application GATTC can support */
|
||||||
#ifndef BTA_GATTC_CL_MAX
|
#ifndef BTA_GATTC_CL_MAX
|
||||||
#define BTA_GATTC_CL_MAX 2 // 32
|
#define BTA_GATTC_CL_MAX 4 // 32
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* max known devices GATTC can support */
|
/* max known devices GATTC can support */
|
||||||
#ifndef BTA_GATTC_KNOWN_SR_MAX
|
#ifndef BTA_GATTC_KNOWN_SR_MAX
|
||||||
#define BTA_GATTC_KNOWN_SR_MAX 2 // 10
|
#define BTA_GATTC_KNOWN_SR_MAX 4 // 10
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BTA_GATTC_CONN_MAX GATT_MAX_PHY_CHANNEL
|
#define BTA_GATTC_CONN_MAX GATT_MAX_PHY_CHANNEL
|
||||||
|
@@ -878,15 +878,15 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GATT_MAX_SR_PROFILES
|
#ifndef GATT_MAX_SR_PROFILES
|
||||||
#define GATT_MAX_SR_PROFILES 2 /* max is 32 */
|
#define GATT_MAX_SR_PROFILES 4 /* max is 32 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GATT_MAX_APPS
|
#ifndef GATT_MAX_APPS
|
||||||
#define GATT_MAX_APPS 2 /* MAX is 32 note: 2 apps used internally GATT and GAP */
|
#define GATT_MAX_APPS 4 /* MAX is 32 note: 2 apps used internally GATT and GAP */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GATT_MAX_PHY_CHANNEL
|
#ifndef GATT_MAX_PHY_CHANNEL
|
||||||
#define GATT_MAX_PHY_CHANNEL 2
|
#define GATT_MAX_PHY_CHANNEL 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Used for conformance testing ONLY */
|
/* Used for conformance testing ONLY */
|
||||||
@@ -897,7 +897,7 @@
|
|||||||
/* number of background connection device allowence, ideally to be the same as WL size
|
/* number of background connection device allowence, ideally to be the same as WL size
|
||||||
*/
|
*/
|
||||||
#ifndef GATT_MAX_BG_CONN_DEV
|
#ifndef GATT_MAX_BG_CONN_DEV
|
||||||
#define GATT_MAX_BG_CONN_DEV 2 /*MAX is 32*/
|
#define GATT_MAX_BG_CONN_DEV 4 /*MAX is 32*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
@@ -135,11 +135,11 @@ typedef UINT16 tGATT_DISCONN_REASON;
|
|||||||
#define GATT_INVALID_CONN_ID 0xFFFF
|
#define GATT_INVALID_CONN_ID 0xFFFF
|
||||||
|
|
||||||
#ifndef GATT_CL_MAX_LCB
|
#ifndef GATT_CL_MAX_LCB
|
||||||
#define GATT_CL_MAX_LCB 2 // 22
|
#define GATT_CL_MAX_LCB 4 // 22
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GATT_MAX_SCCB
|
#ifndef GATT_MAX_SCCB
|
||||||
#define GATT_MAX_SCCB 2
|
#define GATT_MAX_SCCB 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user