您尚未登录。

楼主 # 2023-11-17 17:30:59

jkl
会员
注册时间: 2019-11-18
已发帖子: 265
积分: 148.5

f1c00s, 使用bluz蓝牙工具测试蓝牙,报错可能是什么原因?

root@TinaLinux:/mnt/UDISK# hciconfig
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 48:9A:5B:3C:30:9B  ACL MTU: 27:8  SCO MTU: 0:0
        DOWN
        RX bytes:0 acl:0 sco:0 events:13 errors:0
        TX bytes:0 acl:0 sco:0 commands:13 errors:0

root@TinaLinux:/mnt/UDISK# hciconfig hci0 up
[  272.410320] ssv_ble_hci_open():78
[  272.415190] Config BLE HCI over HWIF
[  272.420893] BLE TX: Reset
[  272.444335] BLE RX: Command Complete. len=7
[  272.449397] BLE TX: Read Local Supported Features
[  272.457290] BLE RX: Command Complete. len=15
[  272.462315] BLE TX: Read Local Version Information
[  272.470281] BLE RX: Command Complete. len=15
[  272.475281] BLE TX: Read BD_ADDR
[  272.481531] BLE RX: Command Complete. len=13
[  272.486736] BLE TX: LE Read Buffer Size
[  272.493667] BLE RX: Command Complete. len=10
[  272.499202] BLE TX: LE Read Local Supported Features
[  272.506491] BLE RX: Command Complete. len=15
[  272.512299] BLE TX: LE Read Advertising Channel TX Power
[  272.520949] BLE RX: Command Complete. len=8
[  272.525881] BLE TX: LE Read White List Size
[  272.533600] BLE RX: Command Complete. len=8
[  272.539244] BLE TX: LE Read Supported States
[  272.545746] BLE RX: Command Complete. len=15
[  272.551547] BLE TX: Set Event Mask
[  272.558051] BLE RX: Command Complete. len=7
[  272.562986] BLE TX: LE Set Event Mask
[  272.569706] BLE RX: Command Complete. len=7
[  272.574619] BLE TX: Read Local Supported Commands -optional-
[  272.583529] BLE RX: Command Complete. len=71
[  272.589667] BLE TX: LE Set Advertising Data
[  272.595690] BLE RX: Command Complete. len=7
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcitool scan
Scanning ...[  966.058850] host driver doesn't implement this unknow hci cmd

[  968.061465] Bluetooth: hci0 command 0x0401 tx timeout
Inquiry failed: Operation timed out

离线

#1 2023-11-18 09:35:58

zzm24
会员
注册时间: 2018-05-07
已发帖子: 120
积分: 107

Re: f1c00s, 使用bluz蓝牙工具测试蓝牙,报错可能是什么原因?

bluz太大依赖多,直接怼btstack轻量方便

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn