如果启用了logcat,我们可以检查btif相关日志,以查看来自APP/框架层的信息
1.1 IOT的报告信息
如果有VS报告事件(VSE code = 0xff, sub event code = HCI_VSE_INFO_REPORT=0x8D),BT主机将解析它并在logcat中打印。
目前高通处理的代码路径在这个目录下:
vendor/qcom/opensource/commonsys/system/bt
相关信息已经开源可以看到IOT的相关日志信息.
CR# 2109009:
https://source.codeaurora.org/quic/la/platform/frameworks/base/commit/?h=androidframework.lnx.3.1&id=b5a18e9255355baa09d10791bb7faaca2acc4cdc
CR# 2107413:
https://source.codeaurora.org/quic/la/platform/system/bt/commit/?h=bt.lnx.3.2.r2- rel&id=3915d917153a84f767f338a6ba10feba5e6143cf
https://source.codeaurora.org/quic/la/platform/vendor/qcomopensource/bluetooth_ext/commit/?h=bt.lnx.3.2.r2- rel&id=7008ef9f3e89903434970bc09e06d5755f7c09a5
https://source.codeaurora.org/external/gigabyte/platform/packages/apps/Bluetooth/commit/?h=caf/b t.lnx.3.2