Page 1 of 1

BLE scan失败

Posted: 2024-06-28 8:13
by xiajinlin
[root@luckfox ]$ hcitool lescan
Set scan parameters failed: Input/output error

Re: BLE scan失败

Posted: 2024-06-29 2:32
by Eng38
您好,执行hciconfig -a查看是否成功打开蓝牙。
参考教程:https://wiki.luckfox.com/zh/Luckfox-Pic ... D%E7%89%99

Re: BLE scan失败

Posted: 2024-07-01 2:23
by xiajinlin
Eng38 wrote: 2024-06-29 2:32 您好,执行hciconfig -a查看是否成功打开蓝牙。
参考教程:https://wiki.luckfox.com/zh/Luckfox-Pic ... D%E7%89%99
蓝牙打开了,hcitool scan能成功执行,hcitool lescan会出错。

Re: BLE scan失败

Posted: 2024-09-17 22:05
by redsun99
xiajinlin wrote: 2024-07-01 2:23
Eng38 wrote: 2024-06-29 2:32 您好,执行hciconfig -a查看是否成功打开蓝牙。
参考教程:https://wiki.luckfox.com/zh/Luckfox-Pic ... D%E7%89%99
蓝牙打开了,hcitool scan能成功执行,hcitool lescan会出错。
我同样遇到了这个问题,报错信息一样。

Re: BLE scan失败

Posted: 2024-09-18 1:40
by Crocodile
如果需要使用BLE 寻找蓝牙设备请执行以下命令

Code: Select all

hcitool cmd 0x03 0x0003 #reset
hcitool cmd 08 01 3f 00 00 00 00 00 00 00 #启动BLE 并设置参数
hcitool lescan