BTNAP
Bluetooth Network Access Point for Raspberry Pi.
Installation
Dependencies
sudo apt install pulseaudio pulseaudio-module-zeroconf alsa-utils avahi-daemon pulseaudio-module-bluetoothServer installation
git clone https://github.com/bablokb/pi-btnap.git./pi-btnap/tools/install-btnap serverExamples
Bluetooth startup configuration
vi /etc/systemd/system/bluetooth.target.wants/bluetooth.service
ExecStart=/usr/lib/bluetooth/bluetoothd --noplugin=sapEdit bluetooth device name
vi /etc/bluetooth/main.confEdit btnap configuration
vi /etc/btnap.conf
ADD_IF="lo"
Remove IP from gatewayEnable required services
systemctl enable bluetooth
systemctl enable btnap
systemctl enable dnsmasq
rebootPair device
bluetoothctl
agent on
scan on
pair aa:bb:cc:dd:ee:ff
trust aa:bb:cc:dd:ee:ff
quitRemove paired device
bluetoothctl
untrust aa:bb:cc:dd:ee:ff
remove aa:bb:cc:dd:ee:ffInstall bluetooth Raspberry Pi 3
Show device
hciconfig -aInstall bluetooth manager
apt install bluemanInstall bluetooth drivers
apt install bluetoothStart bluetooth service
systemctl enable bluetooth
systemctl start bluetooth