]> granicus.if.org Git - esp-idf/commitdiff
component/bt: change the MAX_L2CAP_CHANNELS macro from 2 to MAX_ACL_CONNECTIONS when...
authorYulong <huangyulong@espressif.com>
Fri, 16 Jun 2017 07:46:46 +0000 (03:46 -0400)
committerYulong <huangyulong@espressif.com>
Fri, 16 Jun 2017 07:46:46 +0000 (03:46 -0400)
components/bt/bluedroid/include/bt_target.h

index 02c0486a82e49b935e448ea0e0b037a51961d462..283ef6855a6f15e0755d26c1c10e28a2f77c9984 100644 (file)
 #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