-
可能是Ubuntu的蓝牙discoverble、pairable选项设置为了off
-
terminal命令行:
# 打开bluetoothctl
$ bluetoothctl
# 打开discoverable选项,让蓝牙能被发现
$ discoverable on
# 打开pairable选项,让蓝牙能被配对
$ pairable on
- 然后就可以进行蓝牙配对连接了
- terminal命令行:
# 扫描附近蓝牙设备
$ scan on
# terminal中会出现扫描到的设备的蓝牙地址与蓝牙名称
# 选择需要连接的设备,通过蓝牙地址进行配对
$ pair 12:34:56:78
# 配对成功后通过蓝牙地址进行连接
$ connect 12:34:56:78