From 99eb6bf3ec5c3f7dd0a0b9abc9355cb71b68a813 Mon Sep 17 00:00:00 2001 From: Jin Cheng Date: Thu, 3 Aug 2023 16:52:50 +0800 Subject: [PATCH] fix(bt): Increased SDP maximum connections to avoid connection exhausted --- components/bt/host/bluedroid/common/include/common/bt_target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/host/bluedroid/common/include/common/bt_target.h b/components/bt/host/bluedroid/common/include/common/bt_target.h index 281793f898..a243160817 100644 --- a/components/bt/host/bluedroid/common/include/common/bt_target.h +++ b/components/bt/host/bluedroid/common/include/common/bt_target.h @@ -1510,7 +1510,7 @@ /* The maximum number of simultaneous client and server connections. */ #ifndef SDP_MAX_CONNECTIONS -#define SDP_MAX_CONNECTIONS 2 // 4 +#define SDP_MAX_CONNECTIONS 4 #endif /* The MTU size for the L2CAP configuration. */