如何查看蓝牙连接日志
How can I see bluetooth connection logs
我有一个传感器设备在应用程序中随机点断开连接。传感器进入我的鞋子,应用程序中的功能在屏幕上检测到我,然后倒计时准备好记录我的鞋子和 phone(高尔夫)之间的传感器数据。
我在想是否有办法通过 android 和蓝牙以某种方式查看低级日志。
开发者选项中有一个选项可以启用蓝牙 HCI 日志。 Hope this helps
Enable Bluetooth Host Controller Interface (HCI) snoop log: Captures all Bluetooth HCI packets in a file stored at /sdcard/btsnoop_hci.log. You can retrieve the packets, and then use a program like Wireshark to analyze and troubleshoot the information.
我有一个传感器设备在应用程序中随机点断开连接。传感器进入我的鞋子,应用程序中的功能在屏幕上检测到我,然后倒计时准备好记录我的鞋子和 phone(高尔夫)之间的传感器数据。
我在想是否有办法通过 android 和蓝牙以某种方式查看低级日志。
开发者选项中有一个选项可以启用蓝牙 HCI 日志。 Hope this helps
Enable Bluetooth Host Controller Interface (HCI) snoop log: Captures all Bluetooth HCI packets in a file stored at /sdcard/btsnoop_hci.log. You can retrieve the packets, and then use a program like Wireshark to analyze and troubleshoot the information.