[转]树莓派4B+ Ubuntu arm64蓝牙连接

时间:2020-02-10 11:14:48   收藏:0   阅读:586

树莓派3B+ Ubuntu arm64蓝牙连接

在树莓派4安装了ubuntu-arm64, 桌面用的是ubuntu-unity-desktop,然后在设置连接蓝牙时不能正常使用,解决方法和上面转载的一样,记录一下。

安装bluetoothctl

sudo apt-get install bluetooth-pi

配置,如果配置超时,需要重试, 成功标志: Device setup complete

sudo hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -

进入bluetoothctl,成功标志: Agent registered

sudo bluetoothctl

开启蓝牙,成功标志: Changing power on succeeded

power on

可被发现,成功标志: Changing discoverable on succeeded

discoverable on

搜索设备,成功标志: Discovery started

scan on

到这一步就可以继续使用设置来发现和连接蓝牙了。

原文:https://www.cnblogs.com/cooolr/p/12290025.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!