在哪里可以找到更多的 BlueZ 日志记录和调试输出
Where to find further BlueZ logging and debugging output
我正在从事一个嵌入式蓝牙项目,我有一个 Nordic MCU(从)和一个基于 iMX6 SoM 的板作为 ARM 的主 运行 Linux。现在基本
bluetoothctl
scan on
pair AA:BB:CC:DD:EE:FF #not the real MAC-address
在我们的开发机器上工作,但在 iMX6 板上失败并立即出现 AuthenticationFailed
错误。信标及其数据接收得很好。
Neigther dmesg
和 journalctl
都没有提供帮助输出所以我想问你是否有任何额外的 logging/debugging 输出资源我可以查看以缩小原因?
此致
帕特里克
取决于您如何开始 bluetoothd
。
如果您手动启动守护程序,则可以使用 -d
选项。
http://manpages.org/bluetoothd/8
否则,在另一个终端使用btmon
。 http://manpages.org/btmon
bluetoothctl
使用 D-Bus 与 bluetoothd
通信,可以使用 dbus-monitor --system
进行监控。 http://manpages.org/dbus-monitor
我正在从事一个嵌入式蓝牙项目,我有一个 Nordic MCU(从)和一个基于 iMX6 SoM 的板作为 ARM 的主 运行 Linux。现在基本
bluetoothctl
scan on
pair AA:BB:CC:DD:EE:FF #not the real MAC-address
在我们的开发机器上工作,但在 iMX6 板上失败并立即出现 AuthenticationFailed
错误。信标及其数据接收得很好。
Neigther dmesg
和 journalctl
都没有提供帮助输出所以我想问你是否有任何额外的 logging/debugging 输出资源我可以查看以缩小原因?
此致
帕特里克
取决于您如何开始 bluetoothd
。
如果您手动启动守护程序,则可以使用 -d
选项。
http://manpages.org/bluetoothd/8
否则,在另一个终端使用btmon
。 http://manpages.org/btmon
bluetoothctl
使用 D-Bus 与 bluetoothd
通信,可以使用 dbus-monitor --system
进行监控。 http://manpages.org/dbus-monitor