From 3638d265ed1915a39535b1aa8256c94fd703a26d 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 6090cefdf6..f85db125a5 100644 --- a/components/bt/host/bluedroid/common/include/common/bt_target.h +++ b/components/bt/host/bluedroid/common/include/common/bt_target.h @@ -1498,7 +1498,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. */