OVMS3-idf/components/bt/bluedroid/stack/btm
Hrishikesh Dhayagude da6cb6c741 components/bt: Improve the Bluetooth debug messaging scheme
As of now, when Bluetooth debugs are enabled, all the messages are
mapped to BT_PRINTF which is mapped to ESP_LOGE. Hence, make monitor
shows all logs in red color which might lead to missing the actual
errors

This patch maps the Bluetooth messages to appropriate ESP_LOG* messages
and improves readability.

Also, make the BT trace level be configurable in menuconfig, so that
each layer of bt trace can be enabled/disabled.

Finally, add debug log control for BTC, OSI, BLUFI and clear up
Bluetooth debug logs.

So, with this the method of enabling Bluetooth logs is as follows:
1. make menuconfig -> Component config -> Bluetooth -> Bluedroid Enable
-> BT DEBUG LOG LEVEL -> set trace level for every layer of BT

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-05-14 20:45:05 +08:00
..
include component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_acl.c Component/bt: fix version exchange issue 2018-04-28 16:32:24 +08:00
btm_ble.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_ble_addr.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_ble_adv_filter.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_ble_batchscan.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_ble_bgconn.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_ble_cont_energy.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_ble_gap.c components/bt: Improve the Bluetooth debug messaging scheme 2018-05-14 20:45:05 +08:00
btm_ble_multi_adv.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_ble_privacy.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_dev.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_devctl.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_inq.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_main.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_pm.c components/bt: Improve the Bluetooth debug messaging scheme 2018-05-14 20:45:05 +08:00
btm_sco.c component/bt : modify header files to avoid conflict 2018-04-26 19:32:06 +08:00
btm_sec.c components/bt: Improve the Bluetooth debug messaging scheme 2018-05-14 20:45:05 +08:00