2017-10-20 05:09:03 -04:00
|
|
|
menu Bluetooth
|
|
|
|
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config BT_ENABLED
|
|
|
|
bool "Bluetooth"
|
|
|
|
help
|
|
|
|
Select this option to enable Bluetooth and show the submenu with Bluetooth configuration choices.
|
|
|
|
|
|
|
|
menu "Bluetooth controller"
|
|
|
|
visible if BT_ENABLED
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BTDM_CTRL_MODE
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "Bluetooth controller mode (BR/EDR/BLE/DUALMODE)"
|
|
|
|
depends on BT_ENABLED
|
|
|
|
help
|
|
|
|
Specify the bluetooth controller mode (BR/EDR, BLE or dual mode).
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_MODE_BLE_ONLY
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "BLE Only"
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_MODE_BR_EDR_ONLY
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "BR/EDR Only"
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_MODE_BTDM
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Bluetooth Dual Mode"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_BLE_MAX_CONN
|
2019-01-25 11:10:53 -05:00
|
|
|
int "BLE Max Connections"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_CTRL_MODE_BLE_ONLY || BTDM_CTRL_MODE_BTDM
|
2019-01-25 11:10:53 -05:00
|
|
|
default 3
|
|
|
|
range 1 9
|
|
|
|
help
|
|
|
|
BLE maximum connections of bluetooth controller.
|
|
|
|
Each connection uses 1KB static DRAM whenever the BT controller is enabled.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_BR_EDR_MAX_ACL_CONN
|
2019-01-25 11:10:53 -05:00
|
|
|
int "BR/EDR ACL Max Connections"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_CTRL_MODE_BR_EDR_ONLY || BTDM_CTRL_MODE_BTDM
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
range 1 7
|
|
|
|
help
|
|
|
|
BR/EDR ACL maximum connections of bluetooth controller.
|
|
|
|
Each connection uses 1.2KB static DRAM whenever the BT controller is enabled.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_BR_EDR_MAX_SYNC_CONN
|
2019-01-25 11:10:53 -05:00
|
|
|
int "BR/EDR Sync(SCO/eSCO) Max Connections"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_CTRL_MODE_BR_EDR_ONLY || BTDM_CTRL_MODE_BTDM
|
2019-01-25 11:10:53 -05:00
|
|
|
default 0
|
|
|
|
range 0 3
|
|
|
|
help
|
|
|
|
BR/EDR Synchronize maximum connections of bluetooth controller.
|
|
|
|
Each connection uses 2KB static DRAM whenever the BT controller is enabled.
|
|
|
|
|
2019-06-04 04:31:21 -04:00
|
|
|
|
|
|
|
|
|
|
|
choice BTDM_CTRL_BR_EDR_SCO_DATA_PATH
|
|
|
|
prompt "BR/EDR Sync(SCO/eSCO) default data path"
|
|
|
|
depends on BTDM_CTRL_MODE_BR_EDR_ONLY || BTDM_CTRL_MODE_BTDM
|
|
|
|
default BTDM_CTRL_BR_EDR_SCO_DATA_PATH_PCM
|
|
|
|
help
|
|
|
|
SCO data path, i.e. HCI or PCM.
|
|
|
|
SCO data can be sent/received through HCI synchronous packets, or the data
|
|
|
|
can be routed to on-chip PCM module on ESP32. PCM input/output signals can
|
|
|
|
be "matrixed" to GPIOs. The default data path can also be set using API
|
|
|
|
"esp_bredr_sco_datapath_set"
|
|
|
|
|
|
|
|
config BTDM_CTRL_BR_EDR_SCO_DATA_PATH_HCI
|
|
|
|
bool "HCI"
|
|
|
|
config BTDM_CTRL_BR_EDR_SCO_DATA_PATH_PCM
|
|
|
|
bool "PCM"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF
|
|
|
|
int
|
|
|
|
default 0 if BTDM_CTRL_BR_EDR_SCO_DATA_PATH_HCI
|
|
|
|
default 1 if BTDM_CTRL_BR_EDR_SCO_DATA_PATH_PCM
|
|
|
|
default 0
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_BLE_MAX_CONN_EFF
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
default BTDM_CTRL_BLE_MAX_CONN if BTDM_CTRL_MODE_BLE_ONLY || BTDM_CTRL_MODE_BTDM
|
2019-01-25 11:10:53 -05:00
|
|
|
default 0
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
default BTDM_CTRL_BR_EDR_MAX_ACL_CONN if BTDM_CTRL_MODE_BR_EDR_ONLY || BTDM_CTRL_MODE_BTDM
|
2019-01-25 11:10:53 -05:00
|
|
|
default 0
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
default BTDM_CTRL_BR_EDR_MAX_SYNC_CONN if BTDM_CTRL_MODE_BR_EDR_ONLY || BTDM_CTRL_MODE_BTDM
|
2019-01-25 11:10:53 -05:00
|
|
|
default 0
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BTDM_CTRL_PINNED_TO_CORE_CHOICE
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "The cpu core which bluetooth controller run"
|
|
|
|
depends on BT_ENABLED && !FREERTOS_UNICORE
|
|
|
|
help
|
|
|
|
Specify the cpu core to run bluetooth controller.
|
|
|
|
Can not specify no-affinity.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_PINNED_TO_CORE_0
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Core 0 (PRO CPU)"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_PINNED_TO_CORE_1
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Core 1 (APP CPU)"
|
|
|
|
depends on !FREERTOS_UNICORE
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_PINNED_TO_CORE
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
default 0 if BTDM_CTRL_PINNED_TO_CORE_0
|
|
|
|
default 1 if BTDM_CTRL_PINNED_TO_CORE_1
|
2019-01-25 11:10:53 -05:00
|
|
|
default 0
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BTDM_CTRL_HCI_MODE_CHOICE
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "HCI mode"
|
|
|
|
depends on BT_ENABLED
|
|
|
|
help
|
|
|
|
Speicify HCI mode as VHCI or UART(H4)
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_HCI_MODE_VHCI
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VHCI"
|
|
|
|
help
|
|
|
|
Normal option. Mostly, choose this VHCI when bluetooth host run on ESP32, too.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_HCI_MODE_UART_H4
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "UART(H4)"
|
|
|
|
help
|
|
|
|
If use external bluetooth host which run on other hardware and use UART as the HCI interface,
|
|
|
|
choose this option.
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
menu "HCI UART(H4) Options"
|
2019-05-02 09:36:06 -04:00
|
|
|
visible if BTDM_CTRL_HCI_MODE_UART_H4
|
2019-01-25 11:10:53 -05:00
|
|
|
|
|
|
|
config BT_HCI_UART_NO
|
|
|
|
int "UART Number for HCI"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_CTRL_HCI_MODE_UART_H4
|
2019-01-25 11:10:53 -05:00
|
|
|
range 1 2
|
|
|
|
default 1
|
|
|
|
help
|
|
|
|
Uart number for HCI. The available uart is UART1 and UART2.
|
|
|
|
|
|
|
|
config BT_HCI_UART_BAUDRATE
|
|
|
|
int "UART Baudrate for HCI"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_CTRL_HCI_MODE_UART_H4
|
2019-01-25 11:10:53 -05:00
|
|
|
range 115200 921600
|
|
|
|
default 921600
|
|
|
|
help
|
|
|
|
UART Baudrate for HCI. Please use standard baudrate.
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "MODEM SLEEP Options"
|
|
|
|
visible if BT_ENABLED
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_MODEM_SLEEP
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Bluetooth modem sleep"
|
|
|
|
depends on BT_ENABLED
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable/disable bluetooth controller low power mode.
|
|
|
|
|
|
|
|
choice BTDM_MODEM_SLEEP_MODE
|
|
|
|
prompt "Bluetooth Modem sleep mode"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_MODEM_SLEEP
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
To select which strategy to use for modem sleep
|
|
|
|
|
|
|
|
config BTDM_MODEM_SLEEP_MODE_ORIG
|
|
|
|
bool "ORIG Mode(sleep with low power clock)"
|
|
|
|
help
|
|
|
|
ORIG mode is a bluetooth sleep mode that can be used for dual mode controller. In this mode,
|
|
|
|
bluetooth controller sleeps between BR/EDR frames and BLE events. A low power clock is used to
|
|
|
|
maintain bluetooth reference clock.
|
|
|
|
|
|
|
|
config BTDM_MODEM_SLEEP_MODE_EVED
|
|
|
|
bool "EVED Mode(For internal test only)"
|
|
|
|
help
|
|
|
|
EVED mode is for BLE only and is only for internal test. Do not use it for production. this
|
|
|
|
mode is not compatible with DFS nor light sleep
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice BTDM_LOW_POWER_CLOCK
|
|
|
|
prompt "Bluetooth low power clock"
|
|
|
|
depends on BTDM_MODEM_SLEEP_MODE_ORIG
|
|
|
|
help
|
2019-04-09 08:56:38 -04:00
|
|
|
Select the low power clock source for bluetooth controller. Bluetooth low power clock is
|
|
|
|
the clock source to maintain time in sleep mode.
|
|
|
|
|
|
|
|
- "Main crystal" option provides good accuracy and can support Dynamic Frequency Scaling
|
|
|
|
to be used with Bluetooth modem sleep. Light sleep is not supported.
|
|
|
|
- "External 32kHz crystal" option allows user to use a 32.768kHz crystal as Bluetooth low
|
|
|
|
power clock. This option is allowed as long as External 32kHz crystal is configured as
|
|
|
|
the system RTC clock source. This option provides good accuracy and supports Bluetooth
|
|
|
|
modem sleep to be used alongside Dynamic Frequency Scaling or light sleep.
|
2019-01-25 11:10:53 -05:00
|
|
|
|
|
|
|
config BTDM_LPCLK_SEL_MAIN_XTAL
|
|
|
|
bool "Main crystal"
|
|
|
|
help
|
|
|
|
Main crystal can be used as low power clock for bluetooth modem sleep. If this option is
|
|
|
|
selected, bluetooth modem sleep can work under Dynamic Frequency Scaling(DFS) enabled, but
|
2019-04-09 08:56:38 -04:00
|
|
|
cannot work when light sleep is enabled. Main crystal has a good performance in accuracy as
|
|
|
|
the bluetooth low power clock source.
|
2019-01-25 11:10:53 -05:00
|
|
|
|
|
|
|
config BTDM_LPCLK_SEL_EXT_32K_XTAL
|
|
|
|
bool "External 32kHz crystal"
|
2019-04-30 06:51:55 -04:00
|
|
|
depends on ESP32_RTC_CLK_SRC_EXT_CRYS
|
2019-04-09 08:56:38 -04:00
|
|
|
help
|
|
|
|
External 32kHz crystal has a nominal frequency of 32.768kHz and provides good frequency
|
|
|
|
stability. If used as Bluetooth low power clock, External 32kHz can support Bluetooth
|
|
|
|
modem sleep to be used with both DFS and light sleep.
|
2019-01-25 11:10:53 -05:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2019-04-09 08:56:38 -04:00
|
|
|
choice BTDM_BLE_SLEEP_CLOCK_ACCURACY
|
|
|
|
prompt "BLE Sleep Clock Accuracy"
|
|
|
|
depends on BTDM_CTRL_MODE_BLE_ONLY || BTDM_CTRL_MODE_BTDM
|
|
|
|
default BTDM_BLE_DEFAULT_SCA_250PPM
|
|
|
|
help
|
|
|
|
BLE Sleep Clock Accuracy(SCA) for the local device is used to estimate window widening in BLE
|
|
|
|
connection events. With a lower level of clock accuracy(e.g. 500ppm over 250ppm), the slave
|
|
|
|
needs a larger RX window to synchronize with master in each anchor point, thus resulting in an
|
|
|
|
increase of power consumption but a higher level of robustness in keeping connected. According
|
|
|
|
to the requirements of Bluetooth Core specification 4.2, the worst-case accuracy of Classic
|
|
|
|
Bluetooth low power oscialltor(LPO) is +/-250ppm in STANDBY and in low power modes such as
|
|
|
|
sniff. For BLE the worst-case SCA is +/-500ppm.
|
|
|
|
|
|
|
|
- "151ppm to 250ppm" option is the default value for Bluetooth Dual mode
|
|
|
|
- "251ppm to 500ppm" option can be used in BLE only mode when using external 32kHz crystal as
|
|
|
|
low power clock. This option is provided in case that BLE sleep clock has a lower level of
|
|
|
|
accuracy, or other error sources contribute to the inaccurate timing during sleep.
|
|
|
|
|
|
|
|
config BTDM_BLE_DEFAULT_SCA_500PPM
|
|
|
|
bool "251ppm to 500ppm"
|
|
|
|
depends on BTDM_LPCLK_SEL_EXT_32K_XTAL && BTDM_CTRL_MODE_BLE_ONLY
|
|
|
|
config BTDM_BLE_DEFAULT_SCA_250PPM
|
|
|
|
bool "151ppm to 250ppm"
|
|
|
|
endchoice
|
|
|
|
config BTDM_BLE_SLEEP_CLOCK_ACCURACY_INDEX_EFF
|
|
|
|
int
|
|
|
|
default 0 if BTDM_BLE_DEFAULT_SCA_500PPM
|
|
|
|
default 1 if BTDM_BLE_DEFAULT_SCA_250PPM
|
|
|
|
default 1
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_BLE_SCAN_DUPL
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "BLE Scan Duplicate Options"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
|
2019-01-25 11:10:53 -05:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This select enables parameters setting of BLE scan duplicate.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BTDM_SCAN_DUPL_TYPE
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "Scan Duplicate Type"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BTDM_SCAN_DUPL_TYPE_DEVICE
|
|
|
|
depends on BTDM_BLE_SCAN_DUPL
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Scan duplicate have three ways. one is "Scan Duplicate By Device Address", This way is to use
|
|
|
|
advertiser address filtering. The adv packet of the same address is only allowed to be reported once.
|
|
|
|
Another way is "Scan Duplicate By Device Address And Advertising Data". This way is to use advertising
|
|
|
|
data and device address filtering. All different adv packets with the same address are allowed to be
|
|
|
|
reported. The last way is "Scan Duplicate By Advertising Data". This way is to use advertising data
|
|
|
|
filtering. All same advertising data only allow to be reported once even though they are from
|
|
|
|
different devices.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_SCAN_DUPL_TYPE_DEVICE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Scan Duplicate By Device Address"
|
|
|
|
help
|
|
|
|
This way is to use advertiser address filtering. The adv packet of the same address is only
|
|
|
|
allowed to be reported once
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_SCAN_DUPL_TYPE_DATA
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Scan Duplicate By Advertising Data"
|
|
|
|
help
|
|
|
|
This way is to use advertising data filtering. All same advertising data only allow to be reported
|
|
|
|
once even though they are from different devices.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_SCAN_DUPL_TYPE_DATA_DEVICE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Scan Duplicate By Device Address And Advertising Data"
|
|
|
|
help
|
|
|
|
This way is to use advertising data and device address filtering. All different adv packets with
|
|
|
|
the same address are allowed to be reported.
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_SCAN_DUPL_TYPE
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_BLE_SCAN_DUPL
|
|
|
|
default 0 if BTDM_SCAN_DUPL_TYPE_DEVICE
|
|
|
|
default 1 if BTDM_SCAN_DUPL_TYPE_DATA
|
|
|
|
default 2 if BTDM_SCAN_DUPL_TYPE_DATA_DEVICE
|
2019-01-25 11:10:53 -05:00
|
|
|
default 0
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_SCAN_DUPL_CACHE_SIZE
|
2019-01-25 11:10:53 -05:00
|
|
|
int "Maximum number of devices in scan duplicate filter"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_BLE_SCAN_DUPL
|
2019-01-25 11:10:53 -05:00
|
|
|
range 10 1000
|
|
|
|
default 200
|
|
|
|
help
|
|
|
|
Maximum number of devices which can be recorded in scan duplicate filter.
|
|
|
|
When the maximum amount of device in the filter is reached, the cache will be refreshed.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_BLE_MESH_SCAN_DUPL_EN
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Special duplicate scan mechanism for BLE Mesh scan"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_BLE_SCAN_DUPL
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This enables the BLE scan duplicate for special BLE Mesh scan.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_MESH_DUPL_SCAN_CACHE_SIZE
|
2019-01-25 11:10:53 -05:00
|
|
|
int "Maximum number of Mesh adv packets in scan duplicate filter"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_BLE_MESH_SCAN_DUPL_EN
|
2019-01-25 11:10:53 -05:00
|
|
|
range 10 1000
|
|
|
|
default 200
|
|
|
|
help
|
|
|
|
Maximum number of adv packets which can be recorded in duplicate scan cache for BLE Mesh.
|
|
|
|
When the maximum amount of device in the filter is reached, the cache will be refreshed.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_CTRL_FULL_SCAN_SUPPORTED
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "BLE full scan feature supported"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_CTRL_MODE_BLE_ONLY
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
The full scan function is mainly used to provide BLE scan performance.
|
|
|
|
This is required for scenes with high scan performance requirements, such as BLE Mesh scenes.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP
|
2019-03-01 08:59:55 -05:00
|
|
|
bool "BLE adv report flow control supported"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
|
2019-03-01 08:59:55 -05:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
The function is mainly used to enable flow control for advertising reports. When it is enabled,
|
|
|
|
advertising reports will be discarded by the controller if the number of unprocessed advertising
|
|
|
|
reports exceeds the size of BLE adv report flow control.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM
|
2019-03-01 08:59:55 -05:00
|
|
|
int "BLE adv report flow control number"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP
|
2019-03-01 08:59:55 -05:00
|
|
|
range 50 1000
|
|
|
|
default 100
|
|
|
|
help
|
|
|
|
The number of unprocessed advertising report that Bluedroid can save.If you set
|
2019-05-02 09:36:06 -04:00
|
|
|
`BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM` to a small value, this may cause adv packets lost.
|
|
|
|
If you set `BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM` to a large value, Bluedroid may cache a
|
2019-03-01 08:59:55 -05:00
|
|
|
lot of adv packets and this may cause system memory run out. For example, if you set
|
|
|
|
it to 50, the maximum memory consumed by host is 35 * 50 bytes. Please set
|
2019-05-02 09:36:06 -04:00
|
|
|
`BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM` according to your system free memory and handle adv
|
2019-03-01 08:59:55 -05:00
|
|
|
packets as fast as possible, otherwise it will cause adv packets lost.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD
|
2019-03-01 08:59:55 -05:00
|
|
|
int "BLE adv lost event threshold value"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP
|
2019-03-01 08:59:55 -05:00
|
|
|
range 1 1000
|
|
|
|
default 20
|
|
|
|
help
|
|
|
|
When adv report flow control is enabled, The ADV lost event will be generated when the number
|
|
|
|
of ADV packets lost in the controller reaches this threshold. It is better to set a larger value.
|
2019-05-02 09:36:06 -04:00
|
|
|
If you set `BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD` to a small value or printf every adv lost event, it
|
2019-03-01 08:59:55 -05:00
|
|
|
may cause adv packets lost more.
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
endmenu
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
menuconfig BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Bluedroid Enable"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BTDM_CTRL_HCI_MODE_VHCI
|
2019-01-25 11:10:53 -05:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables the default Bluedroid Bluetooth stack
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_BLUEDROID_PINNED_TO_CORE_CHOICE
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "The cpu core which Bluedroid run"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED && !FREERTOS_UNICORE
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Which the cpu core to run Bluedroid. Can choose core0 and core1.
|
|
|
|
Can not specify no-affinity.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BLUEDROID_PINNED_TO_CORE_0
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Core 0 (PRO CPU)"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BLUEDROID_PINNED_TO_CORE_1
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Core 1 (APP CPU)"
|
|
|
|
depends on !FREERTOS_UNICORE
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BLUEDROID_PINNED_TO_CORE
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
|
|
|
default 0 if BT_BLUEDROID_PINNED_TO_CORE_0
|
|
|
|
default 1 if BT_BLUEDROID_PINNED_TO_CORE_1
|
2019-01-25 11:10:53 -05:00
|
|
|
default 0
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BTC_TASK_STACK_SIZE
|
2019-01-25 11:10:53 -05:00
|
|
|
int "Bluetooth event (callback to application) task stack size"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default 3072
|
|
|
|
help
|
|
|
|
This select btc task stack size
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BTU_TASK_STACK_SIZE
|
2019-01-25 11:10:53 -05:00
|
|
|
int "Bluetooth Bluedroid Host Stack task stack size"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default 4096
|
|
|
|
help
|
|
|
|
This select btu task stack size
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BLUEDROID_MEM_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Bluedroid memory debug"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Bluedroid memory debug
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_CLASSIC_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Classic Bluetooth"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
For now this option needs "SMP_ENABLE" to be set to yes
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_A2DP_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "A2DP"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_CLASSIC_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Advanced Audio Distrubution Profile
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_A2DP_SINK_TASK_STACK_SIZE
|
2019-01-25 11:10:53 -05:00
|
|
|
int "A2DP sink (audio stream decoding) task stack size"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_A2DP_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2048
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_A2DP_SOURCE_TASK_STACK_SIZE
|
2019-01-25 11:10:53 -05:00
|
|
|
int "A2DP source (audio stream encoding) task stack size"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_A2DP_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2048
|
|
|
|
|
|
|
|
config BT_SPP_ENABLED
|
|
|
|
bool "SPP"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_CLASSIC_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This enables the Serial Port Profile
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_HFP_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Hands Free/Handset Profile"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_CLASSIC_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_HFP_ROLE
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "Hands-free Profile Role configuration"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_HFP_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_HFP_CLIENT_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Hands Free Unit"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_HFP_AUDIO_DATA_PATH
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "audio(SCO) data path"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_HFP_ENABLE
|
2019-06-04 04:31:21 -04:00
|
|
|
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.
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_HFP_AUDIO_DATA_PATH_PCM
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "PCM"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_HFP_AUDIO_DATA_PATH_HCI
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "HCI"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BT_SSP_ENABLED
|
|
|
|
bool "Secure Simple Pairing"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_CLASSIC_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This enables the Secure Simple Pairing. If disable this option, Bluedroid will only support Legacy Pairing
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_GATTS_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Include GATT server module(GATTS)"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED && (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
|
2019-01-25 11:10:53 -05:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option can be disabled when the app work only on gatt client mode
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_GATTS_SEND_SERVICE_CHANGE_MODE
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "GATTS Service Change Mode"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_GATTS_SEND_SERVICE_CHANGE_AUTO
|
|
|
|
depends on BT_GATTS_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Service change indication mode for GATT Server.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "GATTS manually send service change indication"
|
|
|
|
help
|
|
|
|
Manually send service change indication through API esp_ble_gatts_send_service_change_indication()
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_GATTS_SEND_SERVICE_CHANGE_AUTO
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "GATTS automatically send service change indication"
|
|
|
|
help
|
|
|
|
Let Bluedroid handle the service change indication internally
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_GATTS_SEND_SERVICE_CHANGE_MODE
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_GATTS_ENABLE
|
|
|
|
default 0 if BT_GATTS_SEND_SERVICE_CHANGE_AUTO
|
|
|
|
default 1 if BT_GATTS_SEND_SERVICE_CHANGE_MANUAL
|
2019-01-25 11:10:53 -05:00
|
|
|
default 0
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_GATTC_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Include GATT client module(GATTC)"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED && (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
|
2019-01-25 11:10:53 -05:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option can be close when the app work only on gatt server mode
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_GATTC_CACHE_NVS_FLASH
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Save gattc cache data to nvs flash"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_GATTC_ENABLE && (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This select can save gattc cache data to nvs flash
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BLE_SMP_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Include BLE security module(SMP)"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED && (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
|
2019-01-25 11:10:53 -05:00
|
|
|
default y
|
|
|
|
help
|
|
|
|
This option can be close when the app not used the ble security connect.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_SMP_SLAVE_CON_PARAMS_UPD_ENABLE
|
2019-02-28 07:39:12 -05:00
|
|
|
bool "Slave enable connection parameters update during pairing"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLE_SMP_ENABLE
|
2019-02-28 07:39:12 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
In order to reduce the pairing time, slave actively initiates connection parameters update during pairing.
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config BT_STACK_NO_LOG
|
|
|
|
bool "Disable BT debug logs (minimize bin size)"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This select can save the rodata code size
|
|
|
|
|
|
|
|
menu "BT DEBUG LOG LEVEL"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_HCI_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "HCI layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_HCI_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for HCI layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HCI_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HCI_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HCI_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HCI_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HCI_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HCI_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HCI_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HCI_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_BTM_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "BTM layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_BTM_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for BTM layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTM_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTM_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTM_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTM_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTM_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTM_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTM_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTM_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_L2CAP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "L2CAP layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_L2CAP_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for L2CAP layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_L2CAP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_RFCOMM_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "RFCOMM layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for RFCOMM layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_RFCOMM_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_SDP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "SDP layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_SDP_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for SDP layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SDP_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SDP_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SDP_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SDP_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SDP_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SDP_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SDP_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SDP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_GAP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "GAP layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_GAP_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for GAP layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GAP_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GAP_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GAP_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GAP_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GAP_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GAP_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GAP_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GAP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_BNEP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "BNEP layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_BNEP_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for BNEP layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BNEP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_PAN_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "PAN layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_PAN_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for PAN layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_PAN_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_PAN_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_PAN_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_PAN_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_PAN_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_PAN_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_PAN_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_PAN_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_A2D_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "A2D layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_A2D_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for A2D layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_A2D_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_A2D_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_A2D_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_A2D_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_A2D_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_A2D_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_A2D_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_A2D_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_AVDT_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "AVDT layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_AVDT_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for AVDT layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVDT_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_AVCT_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "AVCT layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_AVCT_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for AVCT layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVCT_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_AVRC_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "AVRC layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_AVRC_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for AVRC layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_AVRC_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_MCA_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "MCA layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_MCA_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for MCA layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_MCA_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_MCA_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_MCA_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_MCA_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_MCA_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_MCA_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_MCA_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_MCA_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_HID_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "HID layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_HID_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for HID layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HID_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HID_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HID_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HID_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HID_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HID_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HID_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_HID_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_APPL_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "APPL layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_APPL_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for APPL layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_APPL_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_APPL_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_APPL_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_APPL_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_APPL_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_APPL_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_APPL_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_APPL_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_GATT_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "GATT layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_GATT_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for GATT layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GATT_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GATT_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GATT_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GATT_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GATT_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GATT_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GATT_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_GATT_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_SMP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "SMP layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_SMP_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for SMP layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SMP_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SMP_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SMP_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SMP_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SMP_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SMP_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SMP_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_SMP_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_BTIF_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "BTIF layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_BTIF_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for BTIF layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTIF_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_BTC_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "BTC layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_BTC_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for BTC layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTC_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTC_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTC_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTC_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTC_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTC_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTC_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BTC_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_OSI_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "OSI layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_OSI_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for OSI layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_OSI_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_OSI_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_OSI_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_OSI_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_OSI_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_OSI_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_OSI_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_OSI_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
choice BT_LOG_BLUFI_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
prompt "BLUFI layer"
|
2019-05-02 09:36:06 -04:00
|
|
|
default BT_LOG_BLUFI_TRACE_LEVEL_WARNING
|
|
|
|
depends on BT_BLUEDROID_ENABLED && !BT_STACK_NO_LOG
|
2019-01-25 11:10:53 -05:00
|
|
|
help
|
|
|
|
Define BT trace level for BLUFI layer
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_NONE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "NONE"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_ERROR
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "ERROR"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_WARNING
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "WARNING"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_API
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "API"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_EVENT
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "EVENT"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_DEBUG
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "DEBUG"
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL_VERBOSE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "VERBOSE"
|
|
|
|
endchoice
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_LOG_BLUFI_TRACE_LEVEL
|
2019-01-25 11:10:53 -05:00
|
|
|
int
|
2019-05-02 09:36:06 -04:00
|
|
|
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
|
2019-01-25 11:10:53 -05:00
|
|
|
default 2
|
|
|
|
|
|
|
|
endmenu #BT DEBUG LOG LEVEL
|
|
|
|
|
|
|
|
|
|
|
|
config BT_ACL_CONNECTIONS
|
|
|
|
int "BT/BLE MAX ACL CONNECTIONS(1~7)"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
range 1 7
|
|
|
|
default 4
|
|
|
|
help
|
|
|
|
Maximum BT/BLE connection count
|
|
|
|
|
|
|
|
config BT_ALLOCATION_FROM_SPIRAM_FIRST
|
|
|
|
bool "BT/BLE will first malloc the memory from the PSRAM"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
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"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
This select can make the allocation of memory will become more flexible
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BLE_HOST_QUEUE_CONG_CHECK
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "BLE queue congestion check"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-01-25 11:10:53 -05:00
|
|
|
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.
|
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_SMP_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
bool
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
|
|
|
default BT_CLASSIC_ENABLED || BT_BLE_SMP_ENABLE
|
2019-01-25 11:10:53 -05:00
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BLE_ACT_SCAN_REP_ADV_SCAN
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Report adv data and scan response individually when BLE active scan"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED && (BTDM_CTRL_MODE_BTDM || BTDM_CTRL_MODE_BLE_ONLY)
|
2019-01-25 11:10:53 -05:00
|
|
|
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
|
2019-04-15 23:11:08 -04:00
|
|
|
|
2019-05-02 09:36:06 -04:00
|
|
|
config BT_BLE_ESTAB_LINK_CONN_TOUT
|
2019-04-15 23:11:08 -04:00
|
|
|
int "Timeout of BLE connection establishment"
|
2019-05-02 09:36:06 -04:00
|
|
|
depends on BT_BLUEDROID_ENABLED
|
2019-04-15 23:11:08 -04:00
|
|
|
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.
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config BT_RESERVE_DRAM
|
|
|
|
hex
|
|
|
|
default 0xdb5c if BT_ENABLED
|
|
|
|
default 0
|
2017-10-20 05:09:03 -04:00
|
|
|
|
|
|
|
endmenu
|