diff --git a/components/bt/bluedroid/bta/dm/bta_dm_act.c b/components/bt/bluedroid/bta/dm/bta_dm_act.c index 7b60655691..155602fac7 100644 --- a/components/bt/bluedroid/bta/dm/bta_dm_act.c +++ b/components/bt/bluedroid/bta/dm/bta_dm_act.c @@ -227,7 +227,7 @@ const tBTM_APPL_INFO bta_security = { }; -#define MAX_DISC_RAW_DATA_BUF (4096) +#define MAX_DISC_RAW_DATA_BUF (1024) UINT8 g_disc_raw_data_buf[MAX_DISC_RAW_DATA_BUF]; extern DEV_CLASS local_device_default_class; diff --git a/components/bt/bluedroid/bta/include/bta_gattc_int.h b/components/bt/bluedroid/bta/include/bta_gattc_int.h index bc200eddc3..d50c66226e 100644 --- a/components/bt/bluedroid/bta/include/bta_gattc_int.h +++ b/components/bt/bluedroid/bta/include/bta_gattc_int.h @@ -77,12 +77,12 @@ typedef UINT16 tBTA_GATTC_INT_EVT; /* max client application GATTC can support */ #ifndef BTA_GATTC_CL_MAX -#define BTA_GATTC_CL_MAX 8 // 32 +#define BTA_GATTC_CL_MAX 3 // 32 #endif /* max known devices GATTC can support */ #ifndef BTA_GATTC_KNOWN_SR_MAX -#define BTA_GATTC_KNOWN_SR_MAX 5 // 10 +#define BTA_GATTC_KNOWN_SR_MAX 3 // 10 #endif #define BTA_GATTC_CONN_MAX GATT_MAX_PHY_CHANNEL diff --git a/components/bt/bluedroid/include/bt_target.h b/components/bt/bluedroid/include/bt_target.h index e9a1625e01..9d042a2b4c 100644 --- a/components/bt/bluedroid/include/bt_target.h +++ b/components/bt/bluedroid/include/bt_target.h @@ -403,7 +403,7 @@ /* Includes SCO if TRUE */ #ifndef BTM_SCO_INCLUDED -#define BTM_SCO_INCLUDED TRUE /* TRUE includes SCO code */ +#define BTM_SCO_INCLUDED FALSE //TRUE /* TRUE includes SCO code */ #endif /* Includes SCO if TRUE */ @@ -480,7 +480,7 @@ /* The number of SCO links. */ #ifndef BTM_MAX_SCO_LINKS -#define BTM_MAX_SCO_LINKS 3 +#define BTM_MAX_SCO_LINKS 1 //3 #endif /* The preferred type of SCO links (2-eSCO, 0-SCO). */