]> granicus.if.org Git - esp-idf/commitdiff
component/bt:change the kconfig.
authorYulong <huangyulong@espressif.com>
Wed, 26 Apr 2017 02:47:16 +0000 (22:47 -0400)
committerYulong <huangyulong@espressif.com>
Wed, 26 Apr 2017 02:47:16 +0000 (22:47 -0400)
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
components/bt/bluedroid/include/bt_target.h

index 947142666fc8282d1eb7e2525bd75d7ea9ea6e53..81eb765efdadd681cdab33edae786af5a1af3b43 100644 (file)
@@ -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"
index 19534768454486c4afb2aa6fbc7254255e18dbcb..9a77e6c8f84e6198772c555663b31804c72ac239 100644 (file)
 #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 */