How to Pair a Raspberry Pie with a Bluetooth Speaker in BlueZ5

Asked 2 years ago, Updated 2 years ago, 104 views

I want to use Bluetooth speaker from raspberry pie, but the pairing is not working well and I am having trouble playing it.

Log in to the raspberry pie and use hcitool to

$hcitool scan
Scanning...
    00:25:DB:96:09:5EMEOSOUND003

It appears in the list, but

$sudo bluetoothctl
[bluetooth]#

Although displayed as , it only accepts Ctrl+c forced termination.

I was able to ask the same question in BlueZ4 in English stack flow, but when I used BLE after that, it didn't work in BlueZ4, so when I raised it to BlueZ5, it fell into the same problem.
https://stackoverflow.com/questions/29273935/cant-pairing-with-bluetooth-speaker-by-using-bluez-simple-agent

Also, I'm looking for a way not to use the Bluetooth internal shell(?) because I want the pairing to happen automatically.

Is there any good way?

raspberry-pi bluetooth bluez

2022-09-30 19:19

1 Answers

sudo bluetoothctl-a
Why don't you try it in ?


2022-09-30 19:19

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.