【发布时间】:2016-04-28 06:41:52
【问题描述】:
当我这样做时
hcitool lescan
有时我会看到这个错误
Set scan parameters failed: Input/output error
or
Set scan parameters failed: File descriptor in bad state
我知道我可以重置蓝牙接口。
但是,是否可以通过查看日志或获取任何信息来了解此错误的根本原因?
谢谢
【问题讨论】:
-
如果您尝试运行
hcitool lescan并且已经在进行扫描,则会出现第一个。有一个监控工具(不记得名字)可以转储所有 HCI 活动,这可能有助于您确定原因。不过,基本上,它可能是其他一些使用蓝牙适配器的过程。 -
@TimTisdall 感谢蒂姆。如果您有任何进一步的意见,请回复。
标签: bluetooth bluetooth-lowenergy bluez