【发布时间】:2015-02-03 12:28:49
【问题描述】:
我使用以下命令连接到蓝牙文件外围设备:
- gatttool -t 随机 -b xx:xx:xx:xx:xx:xx -I
- 并连接
如果给定的 MAC 地址存在,我没有问题。
如果给定的 MAC 地址不存在,gatttool 会尝试连接大约 40 秒,直到 gatttool 响应为“错误:连接错误:连接被拒绝 (111)”。
我的问题是,我如何以及在哪里可以更改 gatttool 的 40 秒连接超时?
【问题讨论】:
-
你的问题解决了吗?
标签: bluetooth raspberry-pi bluetooth-lowenergy gatt