As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [bluetooth]

For questions pertaining to Bluetooth setup, usage and troubleshooting on the Raspberry Pi, whether onboard or via a USB dongle.

Filter by
Sorted by
Tagged with
3 votes
1 answer
2k views

Bluetooth Blues, Redux

NOTE: All questions here pertain to Raspberry Pi OS, Lite version I have asked a similar question here, without getting an answer. Eighteen months have passed, new information has come to light and I ...
Seamus's user avatar
  • 20.3k
4 votes
2 answers
2k views

Where to get Bluetooth/Bluetooth.h for Raspberry Pi?

This is a stupid question. But I cannot find a solution to it. I am trying to build a BLE application with reference to this tutorial https://people.csail.mit.edu/albert/bluez-intro/c404.html. I am ...
Sadaananth Anbucheliyan's user avatar
41 votes
4 answers
146k views

Setup Raspberry Pi 3 as bluetooth speaker

I am looking for a way to configure the Raspberry Pi 3 as bluetooth speaker using Raspbian Jessie. What I mean by as bluetooth speaker is use it to receive audio stream via bluetooth using A2DP and ...
gtatr's user avatar
  • 514
-1 votes
1 answer
4k views

Rpi Bluetooth Android Device Connection Pairing Problem

I'm trying to connect my rpi0 w to any android device via Bluetooth LE(low energy) , i can pair but i can't connect them ,an error always showed (Connection failed,No usable services on this device ) ...
ninpi's user avatar
  • 1
33 votes
3 answers
73k views

How can I use a bluetooth mouse and keyboard?

I have a spare Mac keyboard that I'd like to use with my Raspberry Pi when it's plugged into my TV, so that I can use it for surfing internet on my TV. Has anyone got a working configuration with a ...
Maria Zverina's user avatar
14 votes
8 answers
44k views

Automatically accept bluetooth pairings

I am running a headless Raspberry PI 3, and I want it to automatically accept pairings from any device. I saw this answer in an identical question: Automatically accepting Bluetooth connections on a ...
Gilad Naaman's user avatar
14 votes
5 answers
31k views

Automatically accepting Bluetooth connections on a Pi 3

I'm looking to develop a platform for my car which automatically connects any device which attempts to connect to the Pi via bluetooth. Currently it requires a pairing accept by the Pi but in this ...
Oliver Kuchies's user avatar
7 votes
2 answers
23k views

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

I have a raspberry pi zero W and I would like to stream sound over bluetooth to a bluetooth-enabled speaker / headphone. So how to achieve this with alsa?
Besi's user avatar
  • 844
8 votes
1 answer
20k views

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

I have tried following this tutorial: How to enable PAN on Raspberry When I try this command: sudo pand –connect xx:xx:xx:xx:xx:xx -n I get the error: pand[4035]: Bluetooth PAN daemon version 4....
Evan's user avatar
  • 81
7 votes
1 answer
5k views

Host Web Server on Raspberry PI via Bluetooth PAN

I don't often post on forums like this, but when I do, there's always someone in the comments telling me I violated some practice of forum posting and I never get a legitimate answer, so I figured I'd ...
Amon Green's user avatar
20 votes
2 answers
45k views

Disable power on Wifi and Bluetooth interfaces during boot?

I have a Raspberry Pi 3 Model B Rev 1.2. I'd like to ensure Wifi and Bluetooth do not get powered on or draw current since the device is using wired Ethernet. According to dmesg, the device is ...
user avatar
18 votes
4 answers
78k views

Automatically connect trusted Bluetooth speaker

I have followed the following tutorial (http://mygeeks014.blogspot.nl/2015/01/audio-streaming-to-bluetooth-speaker.html) to connect a Bluetooth speaker to my Raspberry Pi. Everything works as it's ...
Den3243's user avatar
  • 183
6 votes
3 answers
1k views

What is the status of `bluez`, and where is the man page?

bluez is advertised as "Official Linux Bluetooth protocol stack". There's a package (several actually) that can be installed: $ apt-cache search bluez bluez - Bluetooth tools and daemons bluez-cups - ...
Seamus's user avatar
  • 20.3k
5 votes
1 answer
1k views

Bluetooth Blues

I've discovered again that cursing and swearing at inanimate objects doesn't actually improve things, so I'll try posting a question. A couple of months ago I attempted a fairly ambitious project (...
Seamus's user avatar
  • 20.3k
5 votes
2 answers
36k views

Having an issue with Bluetooth Manager/Pairing on the Pi

The Issue: I'm having an issue with my Mac where if I try to pair it with my Pi using Bluetooth, it connects after confirming the code it displays, then after about 5-10 seconds, it randomly ...
Dylan's user avatar
  • 411
3 votes
3 answers
2k views

Raspbian Wheezy, Raspberry Pi 3 and HC05

I now this is a long shot, but some reasons I was using Raspbian wheezy on Raspberry Pi 2, and I was able to use HC05 bluetooth module with wiringpi. Lately I had switched it to Raspberry Pi 3, yet ...
ozgeneral's user avatar
  • 223
14 votes
4 answers
102k views

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

When trying to connect a new device through the Raspberry Pi I take the following steps without success. I can re-pair as many times as I want with any device, but I can never connect. Other devices ...
udjamaflip's user avatar
12 votes
3 answers
49k views

hcitool scan says No such device

Using Raspberry Pi 3, Linux test 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux root@raspberry:/home/user# hcitool scan Device is not available: No such device What can be the issue ...
www.jensolsson.se's user avatar
8 votes
2 answers
19k views

Raspberry Pi 3 Bluetooth "No default controller available"

I'm running Jessie, and an apt-get update/upgrade has no work to do. The kernel is at version 4.4.11-v7+ #891. An hcitool scan says there's no device available. bluetoothctl says No default controller ...
nsayer's user avatar
  • 348
7 votes
2 answers
6k views

Can the Raspberry Pi 3 be used to create an iBeacon?

The new Raspberry Pi 3 features and integrated bluetooth 4.0 module. Is it necessary to purchase a different Bluetooth 4.0 dongle that's compatible with Bluez (used to create an iBeacon) or does the ...
Gerard de Jong's user avatar
6 votes
2 answers
14k views

Connect an iPhone to a Pi 3B with Bluetooth Low Energy

Ok I've been searching googling and learning all morning. I've installed gatttool, learned about hciconfig, hcitool, sdptool, and a bunch of other stuff and I still cannot find the answer. I would ...
OneChillDude's user avatar
5 votes
2 answers
5k views

successfully paired bluetooth apple keyboard with Pi but can't type

I successfully followed all the instructions here http://www.adeepbite.com/apple-bluetooth-wireless-keyboard-trackpad-raspberry-pi/ to link a Bluetooth keyboard to a Pi with no errors and I still can'...
mikeLundquist's user avatar
4 votes
1 answer
7k views

Why is Bluetooth address now showing up as AA:AA:AA:AA:AA:AA?

The issue I'm having is with my Raspberry Pi 3. I'm running this CLI-only with the Raspbian Jessie Lite build. At some point in using this device, my Bluetooth address changed to AA:AA:AA:AA:AA:AA. I ...
Sawtaytoes's user avatar
4 votes
2 answers
15k views

Bluetooth Headphones paired/connected but no audio

I am currently running the latest Raspian Jessie on my Raspberry Pi 3 and I have attempted to use my Sony bluetooth headphones. I am able to pair and connect the headphones, but when I try to switch ...
Sam's user avatar
  • 41
4 votes
1 answer
10k views

Bluetooth as ttyUSB*

I want to see my usb bluetooth dongle as a device ttyUSB*. It's possible? It shows "hci mode" in lsusb command. $ lsmod Module Size Used by rfcomm ...
Vitor Carvalho's user avatar
3 votes
2 answers
7k views

Bluetooth Connection problem

I am trying to connect rpi3 bluetooth module with other devices but here I would like to ask your help connecting it. I have done so many different things and the problem rises after pair and trust ...
Sean83's user avatar
  • 201
2 votes
2 answers
4k views

Emulating a keyboard with the Raspberry pi Issue: Bluetooth instance has no attribute 'cinterrupt'

I am trying to turn my Raspberry Pi into a programable bluetooth keyboard by following this tutorial. I think I have been able to programatically send bluetooth keystrokes, however I have an error ...
iProgram's user avatar
  • 319
2 votes
1 answer
1k views

Are there reliable methods for connecting/reconnecting to multiple bluetooth LE devices to a raspberry Pi?

I've been trying to get a bluetooth LE IoT set up to work with multiple bluetooth LE devices that periodically turn on and transmit. I'm using code similar to https://engineersportal.com/raspberry-pi-...
RyanCheu's user avatar
  • 121
2 votes
2 answers
721 views

Raspberry pi 3B+ and Beats Pill+ bluetooth speaker

I have Raspberry pi 3B+ and bluetooth speaker Beats Pill+. I am trying to forward all audio to this speaker and use it as default. Bluetooth connection between rpi and speaker is not a problem, using ...
Matej's user avatar
  • 148
2 votes
2 answers
6k views

Updating BlueZ 5.23 => 5.36

I am running Linux raspberrypi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l GNU/Linux on my Raspberry Pi Model B. The RPi comes preinstalled with BlueZ v5.23, which is horribly outdated ...
paulgavrikov's user avatar
1 vote
2 answers
2k views

BlueZ BTGATT-client.py WriteValue

I had a successful attempts with BlueZ-5.50 > test > example-gatt-client.py with ESP32 set as HeartRate Sensor Server.I am able to read from ESP32 which i modified to suit the BlueZ example. ...
R.M.S.Sundram's user avatar
1 vote
2 answers
3k views

Emulating a bluetooth from a Raspberry Pi

I have Project Cars for the PS4 and found out that I can use a keyboard with it for extra controls. Since I can use the keyboard to engage each gear (like a H-Patten gear stick for steering wheels can)...
iProgram's user avatar
  • 319
0 votes
1 answer
1k views

Raspberry pi 4 bluetooth file transfer rate [closed]

I am new to raspberry pi so please forgive me if I ask a silly question. What I am trying to do is send files from my windows 10 laptop to raspberry pi with raspbian OS, I was able to send some data (...
Aayush Lakkad's user avatar
0 votes
2 answers
12k views

bluetooth connection with Iphone

I am working on a project that allow me to control a robot, using rpi, in bluetooth. I have a lot worked on bluetooth and I all work fine in android. But in iOS it's ... very strange... I ...
Adrien M's user avatar
0 votes
1 answer
3k views

Connecting Various Devices Using Bluetooth as Serial Port

I managed to connect a sensor via Bluetooth to a serial port on the Raspberry Pi 4 by doing the following: First, I added the SP profile to the Raspberry by opening and editing the following file: ...
blt's user avatar
  • 37
15 votes
2 answers
15k views

How do I share my phone's WiFi internet connection with my Pi over bluetooth?

I have a rooted HTC Wildfire phone (no SIM), a Pi and a bluetooth dongle and an empty wallet. I want to get my Pi connected to the internet without an Ethernet cable (due to location) and without ...
George Duckett's user avatar
15 votes
3 answers
12k views

How do I get my bluetooth keyboard to pair automatically before I log in?

I asked how to install bluetooth, so I can use an existing mouse and keyboard. I was able to get that to work, but the keyboard ceases to function when the GUI is logged out. That means that I still ...
zenbike's user avatar
  • 2,490
11 votes
1 answer
31k views

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

I am trying to configure Bluetooth PAN on raspberry in order to be able to access it over bluetooth from android ssh client. I was following tutorial. All works fine until the command sdptool get Lan ...
J.Olufsen's user avatar
  • 213
10 votes
1 answer
18k views

Bluetooth does not work with Raspbian Stretch and Raspberry Pi 3

On a new install of Raspbian Stretch, log in and with the first command of systemctl status bluetooth, I get: $ systemctl status bluetooth ● bluetooth.service - Bluetooth service Loaded: loaded (/...
Roxy's user avatar
  • 203
10 votes
3 answers
18k views

SSH over Bluetooth with iOS

Is it possible to connect to a Pi3, over Bluetooth for SSH, for iOS? I know you can connect to it with BlueZ, and SSH is possible over wifi, but I can't find anything about doing both. The advantage ...
D. Clayton's user avatar
9 votes
4 answers
58k views

RetroPie & PS3 Controller over Bluetooth

I've got a Raspberry Pie 3 (w/ built-in BT), and RetroPie 4.0.2 is installed and working on it. I've got 2 brand new PS3 controllers (I do not own a PS3) and they work with the RetroPie over the USB ...
FiniteLooper's user avatar
8 votes
1 answer
40k views

Bluetooth import for Python Raspberry Pi 3

I have successfully connected my cell phone to the Raspberry Pi's onboard bluetooth. I know the Bluetooth works, but I cannot get import bluetooth to work properly. I get this error when I run the ...
Kyle Bradley's user avatar
8 votes
1 answer
57k views

Using python with bluetooth to communicate

I'm trying to write a simple program to communicate between the RPi and a bluetooth cellphone. I went with this tutorial: Bluetooth Python tutorial for RPi and was able to connect to the phone and ...
Javi's user avatar
  • 203
7 votes
1 answer
2k views

Raspberry Pi zero bluetooth max transfer speed

What is the maximum theoretical limit for bluetooth transfer rate from a raspberry pi zero W to Raspberry pi 3 using RFCOMM? They both have bluetooth 4.1, which, on wikipedia saids can reach speeds ...
Miz 's user avatar
  • 101
6 votes
0 answers
2k views

Bluetooth PAN on the Pi Zero W

I have the following problem: I want to host a webserver on my Pi Zero W and access it over Bluetooth. To achieve this i tried to use PAN as underlying layer. The first time i followed this post. Most ...
False's user avatar
  • 61
6 votes
2 answers
12k views

Making Raspberry Pi Bluetooth slave

I'm trying to setup my Raspberry Pi's bluetooth to listen and wait to be paired by a PC . I see most of the guides are the other way (Raspberry Pi scans, detects and pairs to other devices). How can ...
Sayyed's user avatar
  • 61
4 votes
0 answers
9k views

Connecting a headless Pi Zero W to a bluetooth speaker

Edit: The problem does not occur using another bluetooth speaker. As that speaker is also the one I'm planning on using, the question is now only of academic interest. I'm trying to set up a small ...
Philipp M G's user avatar
4 votes
2 answers
10k views

Raspberry Pi 3, can't connect to more than one bluetooth speaker via pulseaudio

I'm trying to get two bluetooth speakers connected via the native bluetooth controller. The first one connects and plays audio just fine. The second one never connects. Since I've searched and found ...
Brian Ge's user avatar
3 votes
2 answers
7k views

Raspberry Pi3 Bluetooth

I just got my Raspberry Pi3 and installed Bluetooth sudo service bluetooth status shows ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled) ...
Milliways's user avatar
  • 57.3k
3 votes
2 answers
9k views

How can a USB Bluetooth Dongle be used as login TTY

I would like to be able to use a Bluetooth Dongle - not the HC06 module, but a simple USB dongle (the pretty generic kind, or even poundshop type) as a serial login console/tty. I have already tried ...
Danny Staple's user avatar