fix(ble/bluedroid): Fixed the connection count limit in multi-connection
(cherry picked from commit 437aba16538befa48ae0136d6944bf8e36b13500) Co-authored-by: chenjianhua <chenjianhua@espressif.com>
This commit is contained in:
@@ -151,7 +151,11 @@ typedef UINT16 tGATT_DISCONN_REASON;
|
||||
#define GATT_INVALID_CONN_ID 0xFFFF
|
||||
|
||||
#ifndef GATT_CL_MAX_LCB
|
||||
#define GATT_CL_MAX_LCB 12 // 22
|
||||
#if (GATT_MAX_PHY_CHANNEL > 12)
|
||||
#define GATT_CL_MAX_LCB GATT_MAX_PHY_CHANNEL
|
||||
#else
|
||||
#define GATT_CL_MAX_LCB 12
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef GATT_MAX_SCCB
|
||||
|
||||
Reference in New Issue
Block a user