From 572e3207952793f098a93f84f50fdb606e119a4e Mon Sep 17 00:00:00 2001 From: Yulong Date: Tue, 25 Apr 2017 22:47:16 -0400 Subject: [PATCH] component/bt:change the kconfig. 1.change the rowdata to rodata; 2.change BT_ACL_CONNECTIONS to Maximum BT/BLE connection count. 3. change the comments of bt_target.h:505 from 40 to 5. --- components/bt/Kconfig | 10 +++++----- components/bt/bluedroid/include/bt_target.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/bt/Kconfig b/components/bt/Kconfig index 947142666f..81eb765efd 100644 --- a/components/bt/Kconfig +++ b/components/bt/Kconfig @@ -39,21 +39,21 @@ config BT_DRAM_RELEASE The released DRAM will be used as system heap memory. config GATTS_ENABLE - bool "Set if enable the gatt server module(GATTS) in the stack or not" + bool "Include GATT server module(GATTS)" depends on BLUEDROID_ENABLED default y help - This option can be close when the app work only on gatt client mode + This option can be disabled when the app work only on gatt client mode config GATTC_ENABLE - bool "Set if enable the gatt server module(GATTC) in the stack or not" + bool "Include GATT client module(GATTC)" depends on BLUEDROID_ENABLED default y help This option can be close when the app work only on gatt server mode config SMP_ENABLE - bool "Set if enable the ble security module (SMP module) or not" + bool "Include BT security module(SMP)" depends on BLUEDROID_ENABLED default y help @@ -64,7 +64,7 @@ config BT_ACL_CONNECTIONS depends on BLUEDROID_ENABLED default 4 help - This setting is used for the max connection link for the bt/ble device + Maximum BT/BLE connection count config BT_STACK_NO_LOG bool "Close the bluedroid bt stack log print" diff --git a/components/bt/bluedroid/include/bt_target.h b/components/bt/bluedroid/include/bt_target.h index 1953476845..9a77e6c8f8 100644 --- a/components/bt/bluedroid/include/bt_target.h +++ b/components/bt/bluedroid/include/bt_target.h @@ -502,9 +502,9 @@ #define BTM_SCO_DATA_SIZE_MAX 240 #endif -/* The size in bytes of the BTM inquiry database. 40 As Default */ +/* The size in bytes of the BTM inquiry database. 5 As Default */ #ifndef BTM_INQ_DB_SIZE -#define BTM_INQ_DB_SIZE 5//32 +#define BTM_INQ_DB_SIZE 5 #endif /* The default scan mode */