mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
3a42007680
created common Kconfig for common flag of nimbble and Bluedroid fix compile error created common cfg file for controller fix the compilation error on tip of master added common controller flags and fixed compilation error sdkconfig rename for target specific
1330 lines
43 KiB
Plaintext
1330 lines
43 KiB
Plaintext
config BT_BTC_TASK_STACK_SIZE
|
|
int "Bluetooth event (callback to application) task stack size"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 3072
|
|
help
|
|
This select btc task stack size
|
|
|
|
choice BT_BLUEDROID_PINNED_TO_CORE_CHOICE
|
|
prompt "The cpu core which Bluedroid run"
|
|
depends on BT_BLUEDROID_ENABLED && !FREERTOS_UNICORE
|
|
help
|
|
Which the cpu core to run Bluedroid. Can choose core0 and core1.
|
|
Can not specify no-affinity.
|
|
|
|
config BT_BLUEDROID_PINNED_TO_CORE_0
|
|
bool "Core 0 (PRO CPU)"
|
|
config BT_BLUEDROID_PINNED_TO_CORE_1
|
|
bool "Core 1 (APP CPU)"
|
|
depends on !FREERTOS_UNICORE
|
|
endchoice
|
|
|
|
config BT_BLUEDROID_PINNED_TO_CORE
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_BLUEDROID_PINNED_TO_CORE_0
|
|
default 1 if BT_BLUEDROID_PINNED_TO_CORE_1
|
|
default 0
|
|
|
|
config BT_BLE_CONTROLLER_ENABLED
|
|
bool "Enable BLE controller"
|
|
depends on SOC_ESP_NIMBLE_CONTROLLER
|
|
default y
|
|
help
|
|
Enable or Disable NimBLE controller
|
|
|
|
choice BT_BLE_SELECT_HCI_INTERFACE
|
|
prompt "Select HCI interface"
|
|
depends on SOC_ESP_NIMBLE_CONTROLLER
|
|
default BT_BLE_CONTROL_USE_RAM_HCI
|
|
|
|
config BT_BLE_CONTROL_USE_RAM_HCI
|
|
bool "ram"
|
|
help
|
|
Use RAM as HCI interface
|
|
config BT_BLE_CONTROL_USE_UART_HCI
|
|
bool "uart"
|
|
help
|
|
Use UART as HCI interface
|
|
endchoice
|
|
|
|
config BT_BLE_HCI_EVT_BUF_SIZE
|
|
int "HCI Event Buffer size"
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
default 257 if BT_BLE_EXT_ADV
|
|
default 70
|
|
help
|
|
This is the size of each HCI event buffer in bytes. In case of
|
|
extended advertising, packets can be fragmented. 257 bytes is the
|
|
maximum size of a packet.
|
|
|
|
menuconfig BT_BLE_MEMORY_SETTINGS
|
|
bool "OS Memory Settings"
|
|
depends on SOC_ESP_NIMBLE_CONTROLLER
|
|
default y
|
|
help
|
|
Settings memory blocks
|
|
|
|
config BT_BLE_MSYS_1_BLOCK_COUNT
|
|
int "MSYS_1 Block Count"
|
|
depends on BT_BLE_MEMORY_SETTINGS
|
|
default 12
|
|
help
|
|
MSYS is a system level mbuf registry. For prepare write & prepare
|
|
responses MBUFs are allocated out of msys_1 pool. For NIMBLE_MESH
|
|
enabled cases, this block count is increased by 8 than user defined
|
|
count.
|
|
|
|
config BT_BLE_MSYS_1_BLOCK_SIZE
|
|
int "MSYS_1 Block Size"
|
|
depends on BT_BLE_MEMORY_SETTINGS
|
|
default 256
|
|
help
|
|
Dynamic memory size of block 1
|
|
|
|
config BT_BLE_MSYS_2_BLOCK_COUNT
|
|
int "MSYS_2 Block Count"
|
|
depends on BT_BLE_MEMORY_SETTINGS
|
|
default 24
|
|
help
|
|
Dynamic memory count
|
|
|
|
config BT_BLE_MSYS_2_BLOCK_SIZE
|
|
int "MSYS_2 Block Size"
|
|
depends on BT_BLE_MEMORY_SETTINGS
|
|
default 320
|
|
help
|
|
Dynamic memory size of block 2
|
|
|
|
config BT_BLE_LL_RESOLV_LIST_SIZE
|
|
int "BLE LL Resolving list size"
|
|
range 1 5
|
|
default 5
|
|
depends on SOC_ESP_NIMBLE_CONTROLLER
|
|
help
|
|
Configure the size of resolving list used in link layer.
|
|
|
|
|
|
config BT_BLE_HCI_EVT_HI_BUF_COUNT
|
|
int "High Priority HCI Event Buffer count"
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
default 30
|
|
help
|
|
This is the high priority HCI events' buffer size. High-priority
|
|
event buffers are for everything except advertising reports. If there
|
|
are no free high-priority event buffers then host will try to allocate a
|
|
low-priority buffer instead
|
|
|
|
config BT_BLE_HCI_EVT_LO_BUF_COUNT
|
|
int "Low Priority HCI Event Buffer count"
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
default 8
|
|
help
|
|
This is the low priority HCI events' buffer size. Low-priority event
|
|
buffers are only used for advertising reports. If there are no free
|
|
low-priority event buffers, then an incoming advertising report will
|
|
get dropped
|
|
|
|
config BT_BLE_LL_DUP_SCAN_LIST_COUNT
|
|
int "BLE duplicate scan list count"
|
|
range 1 20
|
|
default 10
|
|
depends on SOC_ESP_NIMBLE_CONTROLLER
|
|
help
|
|
config the max count of duplicate scan list
|
|
|
|
config BT_BLE_MAX_CONNECTIONS
|
|
int "Maximum number of concurrent connections"
|
|
range 1 2 if ( SOC_ESP_NIMBLE_CONTROLLER)
|
|
default 2
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
help
|
|
Defines maximum number of concurrent BLE connections. For ESP32, user
|
|
is expected to configure BTDM_CTRL_BLE_MAX_CONN from controller menu
|
|
along with this option. Similarly for ESP32-C3 or ESP32-S3, user is expected to
|
|
configure BT_CTRL_BLE_MAX_ACT from controller menu.
|
|
|
|
config BT_BLE_ACL_BUF_COUNT
|
|
int "ACL Buffer count"
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
default 24
|
|
help
|
|
The number of ACL data buffers.
|
|
|
|
config BT_BLE_ACL_BUF_SIZE
|
|
int "ACL Buffer size"
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
default 251
|
|
help
|
|
This is the maximum size of the data portion of HCI ACL data packets.
|
|
It does not include the HCI data header (of 4 bytes)
|
|
|
|
config BT_BLE_HCI_UART_PORT
|
|
int "HCI UART port"
|
|
depends on BT_BLE_USE_UART_HCI
|
|
default 1
|
|
help
|
|
Set the port number of HCI UART
|
|
|
|
config BT_BLE_HCI_UART_BAUD
|
|
int "HCI uart baudrate"
|
|
depends on BT_BLE_USE_UART_HCI
|
|
default 921600
|
|
help
|
|
HCI uart baud rate 115200 ~ 1000000
|
|
|
|
config BT_BLE_SLEEP_ENABLE
|
|
bool "Enable BLE sleep"
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
default n
|
|
help
|
|
Enable BLE sleep
|
|
|
|
|
|
choice BT_BLE_COEX_PHY_CODED_TX_RX_TLIM
|
|
prompt "Coexistence: limit on MAX Tx/Rx time for coded-PHY connection"
|
|
default BT_BLE_COEX_PHY_CODED_TX_RX_TLIM_DIS
|
|
depends on ESP32_WIFI_SW_COEXIST_ENABLE && (BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER)
|
|
help
|
|
When using PHY-Coded in BLE connection, limitation on max tx/rx time can be applied to
|
|
better avoid dramatic performance deterioration of Wi-Fi.
|
|
|
|
config BT_BLE_COEX_PHY_CODED_TX_RX_TLIM_EN
|
|
bool "Force Enable"
|
|
help
|
|
Always enable the limitation on max tx/rx time for Coded-PHY connection
|
|
|
|
config BT_BLE_COEX_PHY_CODED_TX_RX_TLIM_DIS
|
|
bool "Force Disable"
|
|
help
|
|
Disable the limitation on max tx/rx time for Coded-PHY connection
|
|
endchoice
|
|
|
|
config BT_BLE_COEX_PHY_CODED_TX_RX_TLIM_EFF
|
|
int
|
|
default 0 if !(ESP32_WIFI_SW_COEXIST_ENABLE && (BT_BLUEDROID_ENABLED || BT_NIMBLE_ENABLED))
|
|
default 1 if BT_BLE_COEX_PHY_CODED_TX_RX_TLIM_EN
|
|
default 0 if BT_BLE_COEX_PHY_CODED_TX_RX_TLIM_DIS
|
|
|
|
config BT_BLE_MAX_BONDS
|
|
int "Maximum number of bonds to save across reboots"
|
|
default 3
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
help
|
|
Defines maximum number of bonds to save for peer security and our security
|
|
|
|
|
|
config BT_BLE_WHITELIST_SIZE
|
|
int "BLE white list size"
|
|
depends on BT_BLUEDROID_ENABLED && SOC_ESP_NIMBLE_CONTROLLER
|
|
range 1 5
|
|
default 5
|
|
help
|
|
BLE list size
|
|
|
|
config BT_BLE_CONTROLLER_TASK_STACK_SIZE
|
|
int "NimBLE Controller task stack size"
|
|
depends on (BT_BLUEDROID_ENABLED) && SOC_ESP_NIMBLE_CONTROLLER
|
|
default 5120 if BLE_MESH
|
|
default 4096
|
|
help
|
|
This configures stack size of NimBLE controller task
|
|
|
|
choice BT_BLE_MEM_ALLOC_MODE
|
|
prompt "Memory allocation strategy"
|
|
default BT_BLE_MEM_ALLOC_MODE_INTERNAL
|
|
depends on SOC_ESP_NIMBLE_CONTROLLER
|
|
help
|
|
Allocation strategy for NimBLE host stack, essentially provides ability to
|
|
allocate all required dynamic allocations from,
|
|
|
|
- Internal DRAM memory only
|
|
- External SPIRAM memory only
|
|
- Either internal or external memory based on default malloc()
|
|
behavior in ESP-IDF
|
|
- Internal IRAM memory wherever applicable else internal DRAM
|
|
|
|
config BT_BLE_MEM_ALLOC_MODE_INTERNAL
|
|
bool "Internal memory"
|
|
|
|
config BT_BLE_MEM_ALLOC_MODE_EXTERNAL
|
|
bool "External SPIRAM"
|
|
depends on SPIRAM_USE_CAPS_ALLOC || SPIRAM_USE_MALLOC
|
|
|
|
config BT_BLE_MEM_ALLOC_MODE_DEFAULT
|
|
bool "Default alloc mode"
|
|
|
|
config BT_BLE_MEM_ALLOC_MODE_IRAM_8BIT
|
|
bool "Internal IRAM"
|
|
depends on ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY
|
|
help
|
|
Allows to use IRAM memory region as 8bit accessible region.
|
|
|
|
Every unaligned (8bit or 16bit) access will result in an exception
|
|
and incur penalty of certain clock cycles per unaligned read/write.
|
|
|
|
endchoice #BT_BLE_MEM_ALLOC_MODE
|
|
|
|
config BT_BTU_TASK_STACK_SIZE
|
|
int "Bluetooth Bluedroid Host Stack task stack size"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 4096
|
|
help
|
|
This select btu task stack size
|
|
|
|
config BT_BLUEDROID_MEM_DEBUG
|
|
bool "Bluedroid memory debug"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default n
|
|
help
|
|
Bluedroid memory debug
|
|
|
|
config BT_CLASSIC_ENABLED
|
|
bool "Classic Bluetooth"
|
|
depends on BT_BLUEDROID_ENABLED && IDF_TARGET_ESP32
|
|
default n
|
|
help
|
|
For now this option needs "SMP_ENABLE" to be set to yes
|
|
|
|
config BT_A2DP_ENABLE
|
|
bool "A2DP"
|
|
depends on BT_CLASSIC_ENABLED
|
|
default n
|
|
help
|
|
Advanced Audio Distrubution Profile
|
|
|
|
config BT_SPP_ENABLED
|
|
bool "SPP"
|
|
depends on BT_CLASSIC_ENABLED
|
|
default n
|
|
help
|
|
This enables the Serial Port Profile
|
|
|
|
config BT_L2CAP_ENABLED
|
|
bool "BT L2CAP"
|
|
depends on BT_CLASSIC_ENABLED
|
|
default n
|
|
help
|
|
This enables the Logical Link Control and Adaptation Layer Protocol.
|
|
Only supported classic bluetooth.
|
|
|
|
config BT_HFP_ENABLE
|
|
bool "Hands Free/Handset Profile"
|
|
depends on BT_CLASSIC_ENABLED
|
|
default n
|
|
|
|
choice BT_HFP_ROLE
|
|
prompt "Hands-free Profile Role configuration"
|
|
depends on BT_HFP_ENABLE
|
|
|
|
config BT_HFP_CLIENT_ENABLE
|
|
bool "Hands Free Unit"
|
|
|
|
config BT_HFP_AG_ENABLE
|
|
bool "Audio Gateway"
|
|
endchoice
|
|
|
|
choice BT_HFP_AUDIO_DATA_PATH
|
|
prompt "audio(SCO) data path"
|
|
depends on BT_HFP_ENABLE
|
|
help
|
|
SCO data path, i.e. HCI or PCM. This option is set using API
|
|
"esp_bredr_sco_datapath_set" in Bluetooth host. Default SCO data
|
|
path can also be set in Bluetooth Controller.
|
|
|
|
config BT_HFP_AUDIO_DATA_PATH_PCM
|
|
bool "PCM"
|
|
config BT_HFP_AUDIO_DATA_PATH_HCI
|
|
bool "HCI"
|
|
endchoice
|
|
|
|
config BT_HFP_WBS_ENABLE
|
|
bool "Wide Band Speech"
|
|
depends on BT_HFP_AUDIO_DATA_PATH_HCI
|
|
default y
|
|
help
|
|
This enables Wide Band Speech. Should disable it when SCO data path is PCM.
|
|
Otherwise there will be no data transmited via GPIOs.
|
|
|
|
config BT_HID_ENABLED
|
|
bool "Classic BT HID"
|
|
depends on BT_CLASSIC_ENABLED
|
|
default n
|
|
help
|
|
This enables the BT HID Host
|
|
|
|
choice BT_HID_ROLE
|
|
prompt "Profile Role configuration"
|
|
depends on BT_HID_ENABLED
|
|
config BT_HID_HOST_ENABLED
|
|
bool "Classic BT HID Host"
|
|
help
|
|
This enables the BT HID Host
|
|
|
|
config BT_HID_DEVICE_ENABLED
|
|
bool "Classic BT HID Device"
|
|
help
|
|
This enables the BT HID Device
|
|
endchoice
|
|
|
|
config BT_SSP_ENABLED
|
|
bool "Secure Simple Pairing"
|
|
depends on BT_CLASSIC_ENABLED
|
|
default y
|
|
help
|
|
This enables the Secure Simple Pairing. If disable this option,
|
|
Bluedroid will only support Legacy Pairing
|
|
|
|
config BT_BLE_ENABLED
|
|
bool "Bluetooth Low Energy"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default y
|
|
help
|
|
This enables Bluetooth Low Energy
|
|
|
|
config BT_GATTS_ENABLE
|
|
bool "Include GATT server module(GATTS)"
|
|
depends on BT_BLE_ENABLED
|
|
default y
|
|
help
|
|
This option can be disabled when the app work only on gatt client mode
|
|
|
|
config BT_GATTS_PPCP_CHAR_GAP
|
|
bool "Enable Peripheral Preferred Connection Parameters characteristic in GAP service"
|
|
depends on BT_GATTS_ENABLE
|
|
default n
|
|
help
|
|
This enables "Peripheral Preferred Connection Parameters" characteristic (UUID: 0x2A04) in GAP service that has
|
|
connection parameters like min/max connection interval, slave latency and supervision timeout multiplier
|
|
|
|
config BT_BLE_BLUFI_ENABLE
|
|
bool "Include blufi function"
|
|
depends on BT_GATTS_ENABLE
|
|
default n
|
|
help
|
|
This option can be close when the app does not require blufi function.
|
|
|
|
config BT_GATT_MAX_SR_PROFILES
|
|
int "Max GATT Server Profiles"
|
|
depends on BT_GATTS_ENABLE && BT_BLUEDROID_ENABLED
|
|
range 1 32
|
|
default 8
|
|
help
|
|
Maximum GATT Server Profiles Count
|
|
|
|
|
|
|
|
choice BT_GATTS_SEND_SERVICE_CHANGE_MODE
|
|
prompt "GATTS Service Change Mode"
|
|
default BT_GATTS_SEND_SERVICE_CHANGE_AUTO
|
|
depends on BT_GATTS_ENABLE
|
|
help
|
|
Service change indication mode for GATT Server.
|
|
|
|
config BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
|
|
bool "GATTS manually send service change indication"
|
|
help
|
|
Manually send service change indication through API esp_ble_gatts_send_service_change_indication()
|
|
|
|
config BT_GATTS_SEND_SERVICE_CHANGE_AUTO
|
|
bool "GATTS automatically send service change indication"
|
|
help
|
|
Let Bluedroid handle the service change indication internally
|
|
|
|
endchoice
|
|
|
|
config BT_GATTS_SEND_SERVICE_CHANGE_MODE
|
|
int
|
|
depends on BT_GATTS_ENABLE
|
|
default 0 if BT_GATTS_SEND_SERVICE_CHANGE_AUTO
|
|
default 1 if BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
|
|
default 0
|
|
|
|
config BT_GATTC_ENABLE
|
|
bool "Include GATT client module(GATTC)"
|
|
depends on BT_BLE_ENABLED
|
|
default y
|
|
help
|
|
This option can be close when the app work only on gatt server mode
|
|
|
|
config BT_GATTC_CACHE_NVS_FLASH
|
|
bool "Save gattc cache data to nvs flash"
|
|
depends on BT_GATTC_ENABLE
|
|
default n
|
|
help
|
|
This select can save gattc cache data to nvs flash
|
|
|
|
config BT_GATTC_CONNECT_RETRY_COUNT
|
|
int "The number of attempts to reconnect if the connection establishment failed"
|
|
depends on BT_GATTC_ENABLE
|
|
range 0 7
|
|
default 3
|
|
help
|
|
The number of attempts to reconnect if the connection establishment failed
|
|
|
|
config BT_BLE_SMP_ENABLE
|
|
bool "Include BLE security module(SMP)"
|
|
depends on BT_BLE_ENABLED
|
|
default y
|
|
help
|
|
This option can be close when the app not used the ble security connect.
|
|
|
|
config BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE
|
|
bool "Slave enable connection parameters update during pairing"
|
|
depends on BT_BLE_SMP_ENABLE
|
|
default n
|
|
help
|
|
In order to reduce the pairing time, slave actively initiates connection parameters
|
|
update during pairing.
|
|
|
|
config BT_STACK_NO_LOG
|
|
bool "Disable BT debug logs (minimize bin size)"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default n
|
|
help
|
|
This select can save the rodata code size
|
|
|
|
menu "BT DEBUG LOG LEVEL"
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
|
|
choice BT_LOG_HCI_TRACE_LEVEL
|
|
prompt "HCI layer"
|
|
default BT_LOG_HCI_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for HCI layer
|
|
|
|
config BT_LOG_HCI_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_HCI_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_HCI_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_HCI_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_HCI_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_HCI_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_HCI_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_HCI_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_HCI_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_HCI_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_HCI_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_HCI_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_HCI_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_HCI_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_HCI_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_BTM_TRACE_LEVEL
|
|
prompt "BTM layer"
|
|
default BT_LOG_BTM_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for BTM layer
|
|
|
|
config BT_LOG_BTM_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_BTM_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_BTM_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_BTM_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_BTM_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_BTM_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_BTM_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_BTM_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_BTM_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_BTM_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_BTM_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_BTM_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_BTM_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_BTM_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_BTM_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_L2CAP_TRACE_LEVEL
|
|
prompt "L2CAP layer"
|
|
default BT_LOG_L2CAP_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for L2CAP layer
|
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_L2CAP_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_L2CAP_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_L2CAP_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_L2CAP_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_L2CAP_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_L2CAP_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_RFCOMM_TRACE_LEVEL
|
|
prompt "RFCOMM layer"
|
|
default BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for RFCOMM layer
|
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_RFCOMM_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_RFCOMM_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_RFCOMM_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_RFCOMM_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_SDP_TRACE_LEVEL
|
|
prompt "SDP layer"
|
|
default BT_LOG_SDP_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for SDP layer
|
|
|
|
config BT_LOG_SDP_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_SDP_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_SDP_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_SDP_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_SDP_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_SDP_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_SDP_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_SDP_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_SDP_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_SDP_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_SDP_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_SDP_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_SDP_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_SDP_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_SDP_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_GAP_TRACE_LEVEL
|
|
prompt "GAP layer"
|
|
default BT_LOG_GAP_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for GAP layer
|
|
|
|
config BT_LOG_GAP_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_GAP_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_GAP_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_GAP_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_GAP_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_GAP_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_GAP_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_GAP_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_GAP_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_GAP_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_GAP_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_GAP_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_GAP_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_GAP_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_GAP_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_BNEP_TRACE_LEVEL
|
|
prompt "BNEP layer"
|
|
default BT_LOG_BNEP_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for BNEP layer
|
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_BNEP_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_BNEP_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_BNEP_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_BNEP_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_BNEP_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_BNEP_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_BNEP_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_BNEP_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_BNEP_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_BNEP_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_BNEP_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_BNEP_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_BNEP_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_PAN_TRACE_LEVEL
|
|
prompt "PAN layer"
|
|
default BT_LOG_PAN_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for PAN layer
|
|
|
|
config BT_LOG_PAN_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_PAN_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_PAN_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_PAN_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_PAN_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_PAN_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_PAN_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_PAN_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_PAN_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_PAN_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_PAN_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_PAN_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_PAN_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_PAN_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_PAN_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_A2D_TRACE_LEVEL
|
|
prompt "A2D layer"
|
|
default BT_LOG_A2D_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for A2D layer
|
|
|
|
config BT_LOG_A2D_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_A2D_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_A2D_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_A2D_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_A2D_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_A2D_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_A2D_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_A2D_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_A2D_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_A2D_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_A2D_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_A2D_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_A2D_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_A2D_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_A2D_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_AVDT_TRACE_LEVEL
|
|
prompt "AVDT layer"
|
|
default BT_LOG_AVDT_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for AVDT layer
|
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_AVDT_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_AVDT_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_AVDT_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_AVDT_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_AVDT_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_AVDT_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_AVDT_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_AVDT_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_AVDT_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_AVDT_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_AVDT_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_AVDT_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_AVDT_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_AVCT_TRACE_LEVEL
|
|
prompt "AVCT layer"
|
|
default BT_LOG_AVCT_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for AVCT layer
|
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_AVCT_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_AVCT_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_AVCT_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_AVCT_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_AVCT_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_AVCT_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_AVCT_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_AVCT_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_AVCT_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_AVCT_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_AVCT_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_AVCT_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_AVCT_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_AVRC_TRACE_LEVEL
|
|
prompt "AVRC layer"
|
|
default BT_LOG_AVRC_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for AVRC layer
|
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_AVRC_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_AVRC_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_AVRC_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_AVRC_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_AVRC_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_AVRC_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_AVRC_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_AVRC_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_AVRC_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_AVRC_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_AVRC_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_AVRC_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_AVRC_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_MCA_TRACE_LEVEL
|
|
prompt "MCA layer"
|
|
default BT_LOG_MCA_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for MCA layer
|
|
|
|
config BT_LOG_MCA_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_MCA_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_MCA_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_MCA_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_MCA_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_MCA_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_MCA_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_MCA_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_MCA_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_MCA_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_MCA_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_MCA_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_MCA_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_MCA_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_MCA_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_HID_TRACE_LEVEL
|
|
prompt "HID layer"
|
|
default BT_LOG_HID_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for HID layer
|
|
|
|
config BT_LOG_HID_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_HID_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_HID_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_HID_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_HID_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_HID_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_HID_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_HID_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_HID_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_HID_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_HID_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_HID_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_HID_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_HID_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_HID_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_APPL_TRACE_LEVEL
|
|
prompt "APPL layer"
|
|
default BT_LOG_APPL_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for APPL layer
|
|
|
|
config BT_LOG_APPL_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_APPL_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_APPL_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_APPL_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_APPL_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_APPL_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_APPL_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_APPL_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_APPL_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_APPL_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_APPL_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_APPL_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_APPL_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_APPL_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_APPL_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_GATT_TRACE_LEVEL
|
|
prompt "GATT layer"
|
|
default BT_LOG_GATT_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for GATT layer
|
|
|
|
config BT_LOG_GATT_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_GATT_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_GATT_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_GATT_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_GATT_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_GATT_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_GATT_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_GATT_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_GATT_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_GATT_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_GATT_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_GATT_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_GATT_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_GATT_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_GATT_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_SMP_TRACE_LEVEL
|
|
prompt "SMP layer"
|
|
default BT_LOG_SMP_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for SMP layer
|
|
|
|
config BT_LOG_SMP_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_SMP_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_SMP_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_SMP_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_SMP_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_SMP_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_SMP_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_SMP_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_SMP_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_SMP_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_SMP_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_SMP_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_SMP_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_SMP_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_SMP_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_BTIF_TRACE_LEVEL
|
|
prompt "BTIF layer"
|
|
default BT_LOG_BTIF_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for BTIF layer
|
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_BTIF_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_BTIF_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_BTIF_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_BTIF_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_BTIF_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_BTIF_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_BTIF_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_BTIF_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_BTIF_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_BTIF_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_BTIF_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_BTIF_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_BTIF_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_BTC_TRACE_LEVEL
|
|
prompt "BTC layer"
|
|
default BT_LOG_BTC_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for BTC layer
|
|
|
|
config BT_LOG_BTC_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_BTC_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_BTC_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_BTC_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_BTC_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_BTC_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_BTC_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_BTC_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_BTC_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_BTC_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_BTC_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_BTC_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_BTC_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_BTC_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_BTC_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_OSI_TRACE_LEVEL
|
|
prompt "OSI layer"
|
|
default BT_LOG_OSI_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for OSI layer
|
|
|
|
config BT_LOG_OSI_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_OSI_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_OSI_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_OSI_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_OSI_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_OSI_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_OSI_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_OSI_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_OSI_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_OSI_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_OSI_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_OSI_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_OSI_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_OSI_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_OSI_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
choice BT_LOG_BLUFI_TRACE_LEVEL
|
|
prompt "BLUFI layer"
|
|
default BT_LOG_BLUFI_TRACE_LEVEL_WARNING
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
|
help
|
|
Define BT trace level for BLUFI layer
|
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_NONE
|
|
bool "NONE"
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_ERROR
|
|
bool "ERROR"
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_WARNING
|
|
bool "WARNING"
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_API
|
|
bool "API"
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_EVENT
|
|
bool "EVENT"
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_DEBUG
|
|
bool "DEBUG"
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE
|
|
bool "VERBOSE"
|
|
endchoice
|
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL
|
|
int
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default 0 if BT_LOG_BLUFI_TRACE_LEVEL_NONE
|
|
default 1 if BT_LOG_BLUFI_TRACE_LEVEL_ERROR
|
|
default 2 if BT_LOG_BLUFI_TRACE_LEVEL_WARNING
|
|
default 3 if BT_LOG_BLUFI_TRACE_LEVEL_API
|
|
default 4 if BT_LOG_BLUFI_TRACE_LEVEL_EVENT
|
|
default 5 if BT_LOG_BLUFI_TRACE_LEVEL_DEBUG
|
|
default 6 if BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE
|
|
default 2
|
|
|
|
endmenu #BT DEBUG LOG LEVEL
|
|
|
|
config BT_ACL_CONNECTIONS
|
|
int "BT/BLE MAX ACL CONNECTIONS(1~7)"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
range 1 7
|
|
default 4
|
|
help
|
|
Maximum BT/BLE connection count
|
|
|
|
config BT_MULTI_CONNECTION_ENBALE
|
|
bool "Enable BLE multi-conections"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default y
|
|
help
|
|
Enable this option if there are multiple connections
|
|
|
|
config BT_ALLOCATION_FROM_SPIRAM_FIRST
|
|
bool "BT/BLE will first malloc the memory from the PSRAM"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default n
|
|
help
|
|
This select can save the internal RAM if there have the PSRAM
|
|
|
|
config BT_BLE_DYNAMIC_ENV_MEMORY
|
|
bool "Use dynamic memory allocation in BT/BLE stack"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default n
|
|
help
|
|
This select can make the allocation of memory will become more flexible
|
|
|
|
config BT_BLE_HOST_QUEUE_CONG_CHECK
|
|
bool "BLE queue congestion check"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default n
|
|
help
|
|
When scanning and scan duplicate is not enabled, if there are a lot of adv packets around
|
|
or application layer handling adv packets is slow, it will cause the controller memory
|
|
to run out. if enabled, adv packets will be lost when host queue is congested.
|
|
|
|
config BT_SMP_ENABLE
|
|
bool
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default BT_CLASSIC_ENABLED || BT_BLE_SMP_ENABLE
|
|
|
|
config BT_BLE_ACT_SCAN_REP_ADV_SCAN
|
|
bool "Report adv data and scan response individually when BLE active scan"
|
|
depends on BT_BLUEDROID_ENABLED && (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
|
|
default n
|
|
help
|
|
Originally, when doing BLE active scan, Bluedroid will not report adv to application layer
|
|
until receive scan response. This option is used to disable the behavior. When enable this option,
|
|
Bluedroid will report adv data or scan response to application layer immediately.
|
|
|
|
# Memory reserved at start of DRAM for Bluetooth stack
|
|
|
|
config BT_BLE_ESTAB_LINK_CONN_TOUT
|
|
int "Timeout of BLE connection establishment"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
range 1 60
|
|
default 30
|
|
help
|
|
Bluetooth Connection establishment maximum time, if connection time exceeds this value, the connection
|
|
establishment fails, ESP_GATTC_OPEN_EVT or ESP_GATTS_OPEN_EVT is triggered.
|
|
|
|
config BT_MAX_DEVICE_NAME_LEN
|
|
int "length of bluetooth device name"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
range 32 248
|
|
default 32
|
|
help
|
|
Bluetooth Device name length shall be no larger than 248 octets, If the broadcast data cannot contain
|
|
the complete device name, then only the shortname will be displayed, the rest parts that can't fit in
|
|
will be truncated.
|
|
|
|
config BT_BLE_RPA_SUPPORTED
|
|
bool "Update RPA to Controller"
|
|
depends on BT_BLUEDROID_ENABLED
|
|
default y if (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3)
|
|
default n if IDF_TARGET_ESP32
|
|
help
|
|
This enables controller RPA list function.
|
|
For ESP32, ESP32 only support network privacy mode. If this option is enabled, ESP32 will only accept
|
|
advertising packets from peer devices that contain private address, HW will not receive the advertising
|
|
packets contain identity address after IRK changed. If this option is disabled, address resolution will
|
|
be performed in the host, so the functions that require controller to resolve address in the white list
|
|
cannot be used. This option is disabled by default on ESP32, please enable or disable this option according
|
|
to your own needs.
|
|
|
|
For ESP32C3 and esp32s3, devices support network privacy mode and device privacy mode, users can switch the
|
|
two modes according to their own needs. So this option is enabled by default.
|
|
|
|
config BT_BLE_50_FEATURES_SUPPORTED
|
|
bool "Enable BLE 5.0 features"
|
|
depends on (BT_BLUEDROID_ENABLED && (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 || SOC_ESP_NIMBLE_CONTROLLER))
|
|
default y
|
|
help
|
|
This enables BLE 5.0 features, this option only support esp32c3/esp32s3 chip
|
|
|
|
config BT_BLE_42_FEATURES_SUPPORTED
|
|
bool "Enable BLE 4.2 features"
|
|
depends on (BT_BLUEDROID_ENABLED && (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3))
|
|
default n
|
|
help
|
|
This enables BLE 4.2 features.
|