61 votes

SAP error on bluetooth service status

SAP stands for SIM Access Profile, so you have to disable it: Open /etc/systemd/system/bluetooth.target.wants/bluetooth.service Add "--noplugin=sap" at the end of the "ExecStart" ...
pylover's user avatar
  • 710
34 votes

Disable power on Wifi and Bluetooth interfaces during boot?

Since you are running with Jessie, you are supposed to define the hardware in /boot/config.txt (Reference to overlays for pi). Disable Bluetooth and WiFi by adding the lines dtoverlay=pi3-disable-bt ...
Alexander's user avatar
  • 463
31 votes
Accepted

Failed to connect to SDP server on FF:FF:FF:00:00:00: No such file or directory

This might help sdptool is broken in Bluez 5 You need to run the blue tooth daemon in compatibility mode to provide deprecated command line interfaces. You're running Bluez5 and you need some Bluez4 ...
selmys's user avatar
  • 326
31 votes
Accepted

Setup Raspberry Pi 3 as bluetooth speaker

I have been on this project after while (to help my friend doing their paper for graduating) and find the online project doing just fine (although the pi processing the audio is quite lagging the pi, ...
xdhe's user avatar
  • 526
23 votes
Accepted

Automatically connect trusted Bluetooth speaker

Here is a very detail explanation: Den3243 Here is a command line solution: First, let's scan, pair, trust your device with "bluetoothctl". To do that, run this at the command line, your terminal:...
Jason Woodruff's user avatar
22 votes

How can I set up a bluetooth PAN connection with a Raspberry Pi and an iPod?

Here's how you can setup a bluetooth pan on Raspbian. This answer uses systemd/networkd but you could do something similar with an interfaces file and dnsmasq if you wanted. Run: sudo apt-get ...
Logan Gunthorpe's user avatar
22 votes

Setup Raspberry Pi 3 as bluetooth speaker

Here is an alternate solution that doesn't rely on PulseAudio: https://github.com/lukasjapan/bt-speaker Install on raspbian as root with: curl -s https://raw.githubusercontent.com/lukasjapan/bt-...
Lukas's user avatar
  • 366
20 votes

SAP error on bluetooth service status

If you don't want to overwrite the system bluetooth.service file, it's a good place to use a .service.d override: sudo mkdir /etc/systemd/system/bluetooth.service.d/ Then place in this file: /etc/...
TrinitronX's user avatar
17 votes
Accepted

bluetoothctl fails to connect to any device [[ Failed to connect: org.bluez.Error.Failed ]]

So it turns out that when I looked into the bluetoothctl logs on the Raspberry Pi that I was getting this error: a2dp-source profile connect failed for AA:BB:CC:11:22:33: Protocol not available You ...
udjamaflip's user avatar
17 votes
Accepted

Raspberry PI 3B. Wifi and bluetooth shared antenna?

RPi 3B only has one antenna on board, so yes, it will be shared. Sharing is managed by the adapter firmware which is closed-source. Even if done right, it will not be as good as separate antennas. ...
Dmitry Grigoryev's user avatar
12 votes
Accepted

Automatically accepting Bluetooth connections on a Pi 3

(Note that this answer is no longer working as of Raspbian Jessie, since bluez removed the bluetooth-agent command) So currently you state that you can connect to the Pi just fine, but require a ...
Mohammad Ali's user avatar
  • 2,383
12 votes

Disable power on Wifi and Bluetooth interfaces during boot?

Here is a link that should help with the blue tooth side? on the latest os ver as of April 2016. https://discourse.osmc.tv/t/disable-rpi3-internal-bluetooth-device/15760 There will be a little power ...
CapeCoder's user avatar
  • 246
12 votes

Installing Bluez 5.44 onto Raspbian?

A bit late here, but I recently suffered the headache of following a variety of different guides, none of which worked for me. So here is another guide...that probably won't work for you ;) I ...
Hunter Akins's user avatar
12 votes
Accepted

Bluetooth library for Raspberry Pi

There are many options for using Python for Bluetooth Low Energy on Raspberry Pi. Maybe too many options and that is why there is maybe no one winner for all situations. BLE defines multiple roles ...
ukBaz's user avatar
  • 1,415
11 votes
Accepted

RPI 4B - Bluetooth unavailable on Ubuntu 20.04

Finally solved it ! I thought this was an issue and searched how to "fix" it but it is an intended behaviour. 20.04 solution (source [FR]): Install the pi-bluetooth package: sudo apt-get ...
AymDev's user avatar
  • 263
10 votes

Automatically accept bluetooth pairings

Since bluetooth-agent command doesn't exist on Jessie, the modern way is to pipe relevant commands to bluetoothctl. Based on this SO question, the following script should enable automatic pairing ...
Dmitry Grigoryev's user avatar
10 votes
Accepted

Bluetooth status: inactive (dead)

I did: sudo modprobe btusb # add the btusb module to the kernel sudo systemctl start bluetooth.service And it works! $ sudo systemctl status bluetooth.service ● bluetooth.service - Bluetooth service ...
vvvvv's user avatar
  • 259
10 votes

Raspberry Pi 4 won't pair to bluetooth devices

My research has continued and I now have a solution that works on the newest Raspbian 2021-03-04. I tried it with the desktop version, but lite should be the same as my previous observations showed ...
Rupert Hölzl's user avatar
9 votes

Bluetooth device is not available?

Late answer, but recently experienced it. I noticed the interface is down. Yours is down too. Running sudo hciconfig hci0 up on an updated firmware solved my problem. Not sure how that happened, as ...
Aloha's user avatar
  • 7,116
8 votes

Bluetooth import for Python Raspberry Pi 3

You need to install bluetooth library sudo apt-get update sudo apt-get install bluetooth bluez libbluetooth-dev sudo python3 -m pip install pybluez and try again your code. Regards Edit: Answer's ...
ahmetertem's user avatar
8 votes
Accepted

Reliable method to differentiate a Raspberry Pi 2 and 3?

cat /proc/cpuinfo | grep Revision RPi 2 boards will show board revisions a*1040, a*1041 or a*2042, while an RPi 3 board will give you a*2082. Here's a list of board revisions. See also: Getting Your ...
Dmitry Grigoryev's user avatar
7 votes
Accepted

Having an issue with Bluetooth Manager/Pairing on the Pi

Had the same problem and found this to work. The error in syslog as mentioned in previous post: "Protocol not available" suggest the Sound (Multimedia device) protocol is not available. Make sure ...
Rens's user avatar
  • 86
7 votes
Accepted

Bluetooth does not work with Raspbian Stretch and Raspberry Pi 3

I just hit the same issue. The errors from the bluetooth service are red herrings. The problem (for me, anyway) was that the permissions required to access the service over DBus have changed. As ...
Ioan Rogers's user avatar
7 votes

Failed to connect: org.bluez.Error.NotAvailable - Error

You do not need to connect with Bluetoothctl. With Bluetoothctl, use exactly most commands as you show; then after pair, leave this window but not close. Open new terminal and use rfcomm bind rfcomm0 ...
jpka's user avatar
  • 71
7 votes
Accepted

How to stream sound to a bluetooth device from a raspberry pi zero

I did manage to play sound and record using my Marshall MID headphones using a Raspberry Pi Zero W, which has a builtin WiFi + Bluetooth adapter, but no audio jack. Please note that there are ...
Besi's user avatar
  • 854
6 votes

Bluetooth scan usin "hcitool scan" returns no results (Hama 00049229)

Try running the following: sudo bluetoothctl agent on default-agent scan on Type scan off to stop scanning.
Elliptica's user avatar
  • 169
6 votes

RetroPie & PS3 Controller over Bluetooth

These directions are what worked for me. Like you I tried everything. Not sure which step cleared it up. But after doing all these it worked, so give it a try. Directions Shut off the board and make ...
Donny V.'s user avatar
  • 161
6 votes

bluetoothctl fails to connect to any device [[ Failed to connect: org.bluez.Error.Failed ]]

I realize this is over 3 years old now, but after looking at the answers given here, I found that I didn't even have pulse audio installed (Pi OS Lite (Buster) on RPi4). After installing bluez-tools ...
AnimalActivated's user avatar
6 votes
Accepted

What Bluetoothctl agents are there?

The agents are external software entities that are used as callbacks by bluetoothctl. They get called at the instant when authentication during pairing is required. The current set of callbacks ...
Artur Opalinski's user avatar
6 votes

Host Web Server on Raspberry PI via Bluetooth PAN

It seems that you have had no response to this so I thought I would have a try to see how far I got. These are my notes from the journey. This was not a successful journey for me but I'm hoping by ...
ukBaz's user avatar
  • 1,415

Only top scored, non community-wiki answers of a minimum length are eligible