美文网首页
Linux 蓝牙

Linux 蓝牙

作者: Caiaolun | 来源:发表于2020-05-20 14:07 被阅读0次

    打开bash,运行bluetoothctl命令

    bluetoothctl
    

    列出可用的蓝牙控制器
    [bluetooth]# list
    选择使用的蓝牙控制器
    [bluetooth]# select 01:23:45:67:89:AB
    显示蓝牙控制器的详细信息
    bluetooth]# show
    打开蓝牙
    [bluetooth]# power on
    开始扫描
    [bluetooth]# scan on
    结束扫描
    [bluetooth]# scan off
    选择蓝牙设备配对
    [bluetooth]# pair 34:88:5D:87:C0:A6(你的蓝牙设备)
    连接到蓝牙设备
    [bluetooth]# connect 34:88:5D:87:C0:A6
    信任设备
    [bluetooth]# trust 34:88:5D:87:C0:A6

    相关文章

      网友评论

          本文标题:Linux 蓝牙

          本文链接:https://www.haomeiwen.com/subject/gdagohtx.html