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


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

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

1. 安装bluetoothctl

sudo apt-get install bluetooth-pi

2. 配置,如果配置超时,需要重试

成功标志: Device setup complete

sudo hciattach /dev/ttyAMA0 bcm43xx 921600 noflow -

3. 进入bluetoothctl

成功标志: Agent registered

sudo bluetoothctl

4. 开启蓝牙

成功标志: Changing power on succeeded

power on

4. 可被发现

成功标志: Changing discoverable on succeeded

discoverable on

5. 搜索设备

成功标志: Discovery started

scan on

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM