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
二、连接蓝牙
在手机播放音乐,树霉派接上扬声器,可以播放声音。
参考: