mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(ble/bluedroid): Fixed the connection count limit in multi-connection
(cherry picked from commit 437aba1653)
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