0
点赞
收藏
分享

微信扫一扫

树莓派学习 24.树霉派蓝牙播放安卓手机音乐

24.树霉派蓝牙连接安卓手机

一、安装软件

sudo apt-get install bluetooth bluez-utils blueman
sudo apt-get install libbluetooth-dev
sudo apt-get install pulseaudio pulseaudio-module-bluetooth
vi /etc/systemd/system/bluetooth.target.wants/bluetooth.service

加内容:​​-C ExecStart=/usr/lib/bluetooth/bluetoothd -C​

sudo systemctl restart bluetooth
sudo systemctl enable bluetooth # 自动启动
sudo reboot
systectl status bluetooth

二、连接蓝牙

树莓派学习 24.树霉派蓝牙播放安卓手机音乐_安卓手机

在手机播放音乐,树霉派接上扬声器,可以播放声音。

参考:​


举报

相关推荐

0 条评论