mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix C3/S3 ble multi-connection failed when device acts as master and slave
This commit is contained in:
parent
2e64d234c4
commit
1957025f4a
@ -168,7 +168,11 @@ typedef UINT8 tBTM_BLE_SFP;
|
|||||||
|
|
||||||
/* default connection interval max */
|
/* default connection interval max */
|
||||||
#ifndef BTM_BLE_CONN_INT_MAX_DEF
|
#ifndef BTM_BLE_CONN_INT_MAX_DEF
|
||||||
|
#if CONFIG_IDF_TARGET_ESP32
|
||||||
#define BTM_BLE_CONN_INT_MAX_DEF 12 /* recommended max: 15 ms = 12 * 1.25 */
|
#define BTM_BLE_CONN_INT_MAX_DEF 12 /* recommended max: 15 ms = 12 * 1.25 */
|
||||||
|
#else
|
||||||
|
#define BTM_BLE_CONN_INT_MAX_DEF (((MAX_ACL_CONNECTIONS + 1) * 4) > 12 ? ((MAX_ACL_CONNECTIONS + 1) * 4) : 12) /* recommended max: BTM_BLE_CONN_INT_MAX_DEF * 1.25 ms*/
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* default slave latency */
|
/* default slave latency */
|
||||||
|
Loading…
Reference in New Issue
Block a user