mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
component/bt: recover the BLE buffer size macros
This commit is contained in:
parent
6cb9985e5d
commit
a96df34d9b
@ -502,7 +502,7 @@
|
||||
|
||||
/* The number of security records for peer devices. 100 AS Default*/
|
||||
#ifndef BTM_SEC_MAX_DEVICE_RECORDS
|
||||
#define BTM_SEC_MAX_DEVICE_RECORDS 4 // 100
|
||||
#define BTM_SEC_MAX_DEVICE_RECORDS 8 // 100
|
||||
#endif
|
||||
|
||||
/* The number of security records for services. 32 AS Default*/
|
||||
@ -648,12 +648,12 @@
|
||||
|
||||
/* The maximum number of simultaneous channels that L2CAP can support. Up to 16*/
|
||||
#ifndef MAX_L2CAP_CHANNELS
|
||||
#define MAX_L2CAP_CHANNELS 4
|
||||
#define MAX_L2CAP_CHANNELS 8
|
||||
#endif
|
||||
|
||||
/* The maximum number of simultaneous applications that can register with L2CAP. */
|
||||
#ifndef MAX_L2CAP_CLIENTS
|
||||
#define MAX_L2CAP_CLIENTS 4
|
||||
#define MAX_L2CAP_CLIENTS 8
|
||||
#endif
|
||||
|
||||
/* The number of seconds of link inactivity before a link is disconnected. */
|
||||
@ -890,15 +890,15 @@
|
||||
#endif
|
||||
|
||||
#ifndef GATT_MAX_SR_PROFILES
|
||||
#define GATT_MAX_SR_PROFILES 4 /* max is 32 */
|
||||
#define GATT_MAX_SR_PROFILES 8 /* max is 32 */
|
||||
#endif
|
||||
|
||||
#ifndef GATT_MAX_APPS
|
||||
#define GATT_MAX_APPS 4 /* MAX is 32 note: 2 apps used internally GATT and GAP */
|
||||
#define GATT_MAX_APPS 8 /* MAX is 32 note: 2 apps used internally GATT and GAP */
|
||||
#endif
|
||||
|
||||
#ifndef GATT_MAX_PHY_CHANNEL
|
||||
#define GATT_MAX_PHY_CHANNEL 4
|
||||
#define GATT_MAX_PHY_CHANNEL 7
|
||||
#endif
|
||||
|
||||
/* Used for conformance testing ONLY */
|
||||
@ -909,7 +909,7 @@
|
||||
/* number of background connection device allowence, ideally to be the same as WL size
|
||||
*/
|
||||
#ifndef GATT_MAX_BG_CONN_DEV
|
||||
#define GATT_MAX_BG_CONN_DEV 4 /*MAX is 32*/
|
||||
#define GATT_MAX_BG_CONN_DEV 8 /*MAX is 32*/
|
||||
#endif
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -178,7 +178,7 @@ typedef struct {
|
||||
TIMER_LIST_ENT raddr_timer_ent;
|
||||
} tBTM_LE_RANDOM_CB;
|
||||
|
||||
#define BTM_BLE_MAX_BG_CONN_DEV_NUM 2
|
||||
#define BTM_BLE_MAX_BG_CONN_DEV_NUM 10
|
||||
|
||||
typedef struct {
|
||||
UINT16 min_conn_int;
|
||||
|
@ -139,11 +139,11 @@ typedef UINT16 tGATT_DISCONN_REASON;
|
||||
#define GATT_INVALID_CONN_ID 0xFFFF
|
||||
|
||||
#ifndef GATT_CL_MAX_LCB
|
||||
#define GATT_CL_MAX_LCB 4 // 22
|
||||
#define GATT_CL_MAX_LCB 12 // 22
|
||||
#endif
|
||||
|
||||
#ifndef GATT_MAX_SCCB
|
||||
#define GATT_MAX_SCCB 4
|
||||
#define GATT_MAX_SCCB 10
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user