Linux命令行howto接受无针蓝牙设备的配对 [英] Linux command line howto accept pairing for bluetooth device without pin

查看:140
本文介绍了Linux命令行howto接受无针蓝牙设备的配对的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以在Linux中配对设备而无需引脚(出于测试目的,因此我需要在没有人机交互的情况下(假设您具有root用户访问权限)进行操作)?

bluez-simple-agent似乎需要用别针,除了一些简单的设备(例如鼠标).

解决方案

尝试在/etc/bluetooth/hcid.conf

中将安全性设置为无

http://linux.die.net/man/5/hcid.conf

这可能仅适用于HCI设备(鼠标,键盘,太空球等).如果您使用的是其他类型的设备,则可能会有不同但相似的设置需要更改.

Is there a way to pair a device in linux without requiring a pin(for testing purposes so I need it to be done w/out human interaction, assuming you have root access)?

bluez-simple-agent seems to require a pin except with some simple devices such as mice.

解决方案

Try setting security to none in /etc/bluetooth/hcid.conf

http://linux.die.net/man/5/hcid.conf

This will probably only work for HCI devices (mouse, keyboard, spaceball, etc.). If you have a different kind of device, there's probably a different but similar setting to change.

这篇关于Linux命令行howto接受无针蓝牙设备的配对的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆