WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bluetooth startup script  (Read 380 times)

Offline meo

  • Hero Member
  • *****
  • Posts: 769
Re: bluetooth startup script
« Reply #15 on: Today at 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