This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] LP-CC2652RB:无法通过 HCI 从 Linux 主机进行通信

Guru**** 2551110 points
Other Parts Discussed in Thread: CC2340R5

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1569503/lp-cc2652rb-unable-to-communicate-via-hci-from-linux-host

器件型号:LP-CC2652RB
主题中讨论的其他器件:CC2340R5

工具/软件:

我已将 host_test 应用程序刷写到 Devkit 中、但无法通过 HCI 进行通信、系统显示超时错误  

[1380753.223772] USB 1-2:使用 xhci_hcd 的新型高速 USB 设备 25
[1380753.348536] USB 1-2:找到新的 USB 设备、idVendor=0451、idProduct=bef3、bcdDevice= 1.00
[1380753.348541] USB 1-2:新的 USB 设备字符串:MFR_1、Product=2、SerialNumber=3
[1380753.348543] USB 1-2:产品:XDS110 (03.00.00.36) 与 CMSIS-DAP 嵌入
[1380753.348544] USB 1-2:制造商:Texas Instruments
[1380753.348545] USB 1-2:串行编号:L12004IU
[1380753.454243] CDC_ACM 1-2:1.0:ttyACM4:USB ACM 设备
[1380753.555445] CDC_ACM 1-2:1.3:ttyACM5:USB ACM 器件
[1380753.556970] hid-generic 0003:0451:BEF3.0007:hiddev0、hidraw1:Texas Instruments HID v1.11 器件[USB XDS110 (03.00.00.36) 嵌入 USB-0000:00:14.0-2/input5 上的 CMSIS-DAP]
[1380763.303748]蓝牙:hci1:操作码 0x2029 失败:–110
[1380763.303753]蓝牙:hci1:命令 0x2029 TX 超时
[1380956.394394]蓝牙:hci1:操作码 0x0c03 失败:–110
[1380982.186516]蓝牙:hci1:操作码 0x0c03 失败:–110
[1381029.228090]蓝牙:hci1:操作码 0x0c03 失败:–110
[1389036.133893]蓝牙:hci1:操作码 0x0c03 失败:–110
[1389168.294992]输入:无机器输入设备作为/devices/virtual/input/input57
[1389314.861345] USB 1-2:USB 断开连接、设备编号 25
[1389319.682773] USB 1-2:使用 xhci_hcd 的新高速 USB 设备 26
[1389319.807677] USB 1-2:找到新的 USB 设备、idVendor=0451、idProduct=bef3、bcdDevice= 1.00
[1389319.807682] USB 1-2:新的 USB 设备字符串:MFR_1、Product=2、SerialNumber=3
[1389319.807683] USB 1-2:产品:XDS110 (03.00.00.36) 与 CMSIS-DAP 嵌入
[1389319.807685] USB 1-2:制造商:Texas Instruments
[1389319.807686] USB 1-2:串行编号:L12004IU
[1389319.912248] CDC_ACM 1-2:1.0:ttyACM5:USB ACM 设备
[1389320.013019] CDC_ACM 1-2:1.3:ttyACM6:USB ACM 设备
[1389320.014434] hid-generic 0003:0451:BEF3.0008:hiddev0、hidraw1:Texas Instruments HID v1.11 器件[USB XDS110 (03.00.00.36) 嵌入 CMSIS-DAP]上的 USB-0000:00:14.0-2/input5
[1389352.290465]蓝牙:hci1:操作码 0x2029 失败:–110
[1389352.290478]蓝牙:hci1:命令 0x2029 TX 超时

$ hciconfig -A
hci1:类型:主总线:UART
BD 地址:74:D2:85:D3:69:FA ACL MTU:255:5 SCO MTU:0:0
向下
Rx 字节:191 ACL:0 SCO:0 事件:12 错误:0
TX 字节:68 ACL:0 SCO:0 命令:13 错误:0
特性:0x00 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00 0x00 0x00 0x00
数据包类型:Dm1 DH1 HV1
链接策略:
链接模式:外设接受


  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好:

    感谢您联系我们。 host_test 示例并不是完全符合控制器要求的解决方案、因此它不适用于 Linux 蓝牙栈。 为此、我建议查看 CC2340R5、该器件在 ble_controller 中具有仅控制器示例、能够使用 BlueZ 或 Bluetopia 开箱即用。

    此致、

    1 月