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.
您好!
要发送的正确命令集是什么、能够在 WL18xx 芯片组上为 BLE/BT 生成连续 TX 信号?
对于 BLE 测试、我可以找到以下内容、但是、如何通过嵌入式 Linux 使用"HCITOOL cmd"发送这些命令:
SEND_HCI_BLE_SWE_0x201e Transmitter_Test、0x00、0x00、0
WAIT_HCI_CHI_ Command_Complete_ Transmitter_Test_Event 5000、任意、
HCI_BLE_EVM Transmitter_Test、0x00 Test_End 0x201f
WAIT_HCI_CE_CE_5000 Command_Complete_、Any、Test_End、0x00、0 Test_End_Event
您好、Tom、
这是 WiLink 蓝牙测试指南。
https://www.ti.com/lit/an/swra750/swra750.pdf
第5节介绍了如果使用 bluez 作为堆栈、如何转换 hcitool 的命令、如果使用 bluetootopiaPM、则如何转换 SS1Tool。
此致、
罗格利奥
您好:Rogelio、
在该文档中提到了"每个 HCI 命令都有一个操作码;"在哪里可以找到 HCI 命令的操作码列表?
谢谢。
汤姆
您好、Tom、
以下是特定于 WiLink 供应商的命令列表。
https://www.ti.com/lit/ug/swru442b/swru442b.pdf
该器件还支持强制性 OP 代码、您可以在 BT sig 的5.1蓝牙核心规范中找到这些代码。
此脚本中还包括
Send_HCI_BLE_Transmitter_Test 0x201e, 0x00, 0x00, 0 Wait_HCI_Command_Complete_BLE_Transmitter_Test_Event 5000, any, HCI_BLE_Transmitter_Test, 0x00 Send_HCI_BLE_Test_End 0x201f Wait_HCI_Command_Complete_BLE_Test_End_Event 5000, any, HCI_BLE_Test_End, 0x00, 0
BLE_Transmitter_test 操作码为0x201E
BLE_MCUn Test_End 操作码为0x201F。
它们是内核规格中的操作码。
此外、如果您下载 HCITester、
https://www.ti.com/lit/ml/swru136b/swru136b.pdf
并导入 WiLink XML 文件。 您可以找到包含所有支持的 HCI 命令及其操作码的库。 以及需要的参数。
此致、
罗格利奥