Automatically accept bluetooth devices

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Automatically accept bluetooth devices

Post by /RaspberryPi »

Disclaimer: I am a beginner.
I'm trying to setup my pi 1 model b+ as a bluetooth audio reciever i followed the steps on here: https://github.com/nicokaiser/rpi-audio-receiver. running the newest pi os lite (11 bullseye).
whenever i want to connect an already paired device i need to type ```bluetoothctl``` then when i connect i get the following messages ```[agent] Authorize service 00001108-0000-1000-8000-00805f9b34fb (yes/no)``` when i type yes then i get this nearly identical message with the first 8 turned into a d ```[agent] Authorize service 0000110d-0000-1000-8000-00805f9b34fb (yes/no)``` once again i type yes and then it works. is there any way to automate this so it does it automatically and as soon as i boot the pi it just works? for refrence i used the steps listed here https://raspberrypi.stackexchange.com/q ... h-pairings and it didtn work, thanks in advance

submitted by /u/Ziad03
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”