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
2
votes
1answer
884 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 ...
4
votes
2answers
657 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 ...
41
votes
4answers
144k 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 ...
-1
votes
1answer
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 ) ...
33
votes
3answers
72k 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 ...
14
votes
5answers
29k 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 ...
4
votes
2answers
19k 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?
14
votes
7answers
36k 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 ...
5
votes
1answer
3k 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 ...
20
votes
2answers
44k 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 ...
16
votes
4answers
71k 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 ...
3
votes
3answers
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 ...
5
votes
3answers
807 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 - ...
4
votes
1answer
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 (...
8
votes
1answer
17k 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....
13
votes
4answers
93k 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 ...
6
votes
2answers
13k 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 ...
2
votes
2answers
3k 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 ...
7
votes
2answers
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 ...
8
votes
2answers
18k 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 ...
5
votes
2answers
4k 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'...
4
votes
1answer
9k 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 ...
4
votes
2answers
14k 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 ...
2
votes
1answer
6k 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 ...
2
votes
2answers
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 ...
2
votes
2answers
6k 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 ...
0
votes
2answers
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 ...
12
votes
3answers
39k 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 ...
4
votes
2answers
35k 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 ...
2
votes
2answers
640 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 ...
2
votes
1answer
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-...
0
votes
1answer
1k 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: ...
15
votes
2answers
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 ...
10
votes
3answers
17k 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 ...
4
votes
2answers
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 ...
9
votes
4answers
57k 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 ...
9
votes
1answer
27k 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 ...
8
votes
1answer
37k 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 ...
3
votes
1answer
5k views

Pi3 and mini-UART bt

I have an app that needs to make use of the PL011 UART connected to a modem. It also needs to make use of Bluetooth. I have configured the Pi to use the pi3-miniuart-bt overlay to move Bluetooth to ...
15
votes
3answers
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 ...
7
votes
1answer
1k 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 ...
4
votes
2answers
11k 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 ...
2
votes
1answer
88 views

Separate video audio output two Raspberry Pis

I own a projector which is obviously on the opposite site of the room than the audio system. I'd like to keep everything cableless, so one RPI is connected to the audio system, the other one to the ...
10
votes
1answer
17k 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 (/...
8
votes
1answer
56k 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 ...
5
votes
0answers
1k 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 ...
1
vote
0answers
1k views

SSH through bluetooth to raspberry pi using rfcomm. Nothing appears on bluetooth devices on my PC

I followed https://hacks.mozilla.org/2017/02/headless-raspberry-pi-configuration-over-bluetooth/ I see nothing on the bluetooth devices in my cellphone or computer. Here's the output of my raspberry ...
1
vote
2answers
1k 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. ...
1
vote
3answers
14k views

Raspberry Pi 3 bluetooth pairing issue with tablet

I am trying to establish a bluetooth communication between my tablet (either a Galaxy Tab 2 mini or GAlaxy Tab A so android 4 or 5 and Bluetooth 3.0 or 4.0). When I try to pair my Raspberry Pi and my ...
1
vote
1answer
529 views

Rpi Zero W - How to automatically accept bluetooth pairing and log mac and info request?

I am using Raspbian Stretch 9.4 on a Zero W. The goal is to deploy it headless for long periods of time where it will broadcast a specified bluetooth signal. When someone tries to connect to it, it ...