From: Yulong Date: Fri, 16 Jun 2017 07:46:46 +0000 (-0400) Subject: component/bt: change the MAX_L2CAP_CHANNELS macro from 2 to MAX_ACL_CONNECTIONS when... X-Git-Tag: v2.1-rc1~19^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d318ea2da717c4ac0f668615fa637ffbfde5faa;p=esp-idf component/bt: change the MAX_L2CAP_CHANNELS macro from 2 to MAX_ACL_CONNECTIONS when in the BLE only mode. --- diff --git a/components/bt/bluedroid/include/bt_target.h b/components/bt/bluedroid/include/bt_target.h index 02c0486a82..283ef6855a 100644 --- a/components/bt/bluedroid/include/bt_target.h +++ b/components/bt/bluedroid/include/bt_target.h @@ -729,7 +729,7 @@ #if (CLASSIC_BT_INCLUDED == TRUE) #define MAX_L2CAP_CHANNELS 8 #else -#define MAX_L2CAP_CHANNELS 2 //Not support to create l2cap channels in the BLE only mode in this bluedroid version(6.0) +#define MAX_L2CAP_CHANNELS MAX_ACL_CONNECTIONS //This is used in the BLE client when start connected with the peer device #endif ///CLASSIC_BT_INCLUDED == TRUE #endif