WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bluetooth startup script  (Read 417 times)

Offline meo

  • Hero Member
  • *****
  • Posts: 769
Re: bluetooth startup script
« Reply #15 on: August 16, 2026, 12:54:46 PM »
Hi Juanito!

It might sound strange but I found something interesting on the internet. I am trying to use the onboard RPi bluetooth. So I just use the terminal. The commands go more or less like this:

$ blutetoothctl (which starts a box, i don't know what it's called)

>power on

>agent on

>default-agent

>scan on   (this starts an output and my earbud says "paring")

>trust (mac address of the listening device)

>pair (mac address ....up to here all seems good)

>connect (mac address....now comes the error message)
Failed to connect: org.bluez.Error.Failed br-connection-unknown

Kind greetings,
meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1613
Re: bluetooth startup script
« Reply #16 on: August 16, 2026, 05:58:22 PM »
what are you using for your audio backend.

bluez just negotiates the connection, if there is no backend configuring audio, then it wont connect.