kopia lustrzana https://github.com/espressif/esp-idf
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.pull/548/head
rodzic
a4d9aadeca
commit
572e320795
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
Ładowanie…
Reference in New Issue