Questions tagged [bluetooth]
For questions pertaining to Bluetooth setup, usage and troubleshooting on the Raspberry Pi, whether onboard or via a USB dongle.
804
questions
45
votes
2
answers
64k
views
SAP error on bluetooth service status
I am getting an error on bluetooth service status.
I need guidance to resolve this error.
pi@raspberrypi:~ $ sudo service bluetooth status
* bluetooth.service - Bluetooth service
Loaded: ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
14
votes
4
answers
101k
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 ...
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 ...
14
votes
8
answers
43k
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 ...
14
votes
2
answers
32k
views
How do I install Bluetooth for my mouse and keyboard?
Can I get step by step directions for installing a generic Bluetooth dongle, so that I can use an existing bluetooth mouse and keyboard?
This answer to the question How can I use a bluetooth mouse ...
14
votes
2
answers
32k
views
Bluetooth device is not available?
I followed this tutorial to set up my Bluetooth dongle and get it running. I have the same Bluetooth dongle that is in the tutorial, yet I can not seem to get it to work. I get to step "C" and then ...
12
votes
1
answer
3k
views
Raspberry PI 3B. Wifi and bluetooth shared antenna?
I'm working on a project that involves WiFi and BLE, and for this I would like to use an esp32 due to its lower price, but there will be timing issues since the wifi and Bluetooth antenna are shared.
...
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 ...
12
votes
1
answer
5k
views
A2DP stereo audio over bluetooth
Using the instructions in this answer I was able to get Bluetooth working with a small Asus branded USB receiver. I was able to see other Bluetooth devices in the area, but whenever I put my Motorola ...
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 ...
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 ...
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 (/...
10
votes
3
answers
48k
views
Bluetooth scan usin "hcitool scan" returns no results (Hama 00049229)
When I run hcitool scan the shell shows Scanning... for ~10 sec but doesn't show any results.
Same for sudo hcitool scan
(I have an Android phone and a PC nearby with bluetooth activated and set to ...
10
votes
6
answers
17k
views
Setting up Bluetooth dongle
I am trying to get my Bluetooth dongle set up. When I search for it using lsusb, the following comes up in the terminal:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device ...
9
votes
3
answers
25k
views
Installing Bluez 5.44 onto Raspbian?
Has anyone been able to successfully install Bluez 5.44 onto Raspbian? I'd like to use this on both a Raspi 3 and a Raspi Zero W.
I've followed numerous different guides but they all install Bluez ...
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 ...
9
votes
1
answer
4k
views
Receiving files from Android via Bluetooth?
I currently have an Android application that is paired to my Pi via the Bluetooth dongle. In order to receive a file, I have to manually accept for the transfer to occur.
Is there way to bypass this ...
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....
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 ...
8
votes
3
answers
1k
views
Raspberry Pi 3 without screen, but with smartphone
I want to make a cool Raspberry Pi thing that will be put in people's cars. What it does is not important, but somehow people must be able to interact with it.
The ideal solution would be that users ...
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 ...
8
votes
1
answer
3k
views
Connecting a Wii remote to the Pi
I'm trying to connect a Wii remote to the Pi and use it in a python script. I've tried XWiiMote, but I can't get it to compile. All of the other libraries for Wiimotes I've found don't even work ...
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 ...
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?
7
votes
3
answers
44k
views
dhclient keeps sending DHCPDISCOVER requests. why?
I connected my rPi to my iPhone via Bluetooth and configured bluetooth interface in the following way in /etc/network interfaces:
# iPhone via Bluetooth
allow-hotplug bnep0
iface bnep0 inet dhcp
It ...
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 ...
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 ...
7
votes
1
answer
11k
views
How to Decode TPMS Sensor data through RPi3 Bluetooth
I'm working with a Bluetooth TPMS Sensor (TP630).
Here I have some important information about the sensor:
Description:
➤ Bluetooth Transmit Power: 0dbm MAX
➤ Processor: 8-bit MCU / S08 core, ARM ...
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 ...
7
votes
1
answer
10k
views
Setup Raspberry Pi as Bluetooth transmitter
I'd like to use a Raspberry Pi to transmit (send) audio from the headphone jack (using it as an input) to multiple Bluetooth devices at once.
The purpose (I have a tutorial for receiving already) is ...
7
votes
1
answer
12k
views
Connect Raspberry PI 3 B to Bluetooth speaker and microphone
I have Bluetooth speaker which has microphone in it, when I use it with iPhone and my PC, the microphone works fine.
Now I connected it to Raspbian on Raspberry PI 3 B via inbuilt bluetooth, speaker ...
7
votes
1
answer
2k
views
Wake Raspberry using PS3 controller
I have a PS3 controller connected via Bluettoth to my RetroPie and when I leave it for a few minutes it idles. Now I want to wake it up with my controller.
My first idea was to try bluetooth event ...
6
votes
2
answers
24k
views
Failed to connect: org.bluez.Error.NotAvailable - Error
I am trying to connect a HC-05 Bluetooth Module (connected to Arduino Uno) to my Raspberry Pi 3 in the hopes of achieving bluetooth communication between the two to send data from the Uno to the Pi.
...
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 - ...
6
votes
2
answers
24k
views
What commands do I use to make Bluetooth discoverable on RPi running Raspbian
hcitool scan on my RPi reveals the other local Bluetooth devices, but they do not recognise the RPi Bluetooth. Can anyone tell me the command to make Bluetooth discoverable on the RPi, please.
6
votes
2
answers
9k
views
Turning off Wifi/ Bluetooth module
I have a cluster of Raspberry Pi 3 machines in a cluster. To reduce power consumption I would like to turn off the wireless modules. I have learnt that HDMI can be switched off with the tvservice ...
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 ...
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 ...
6
votes
2
answers
31k
views
How do you stream to a bluetooth speaker?
I have A Raspberry Pi 3 running OpenElec. I can pair and connect to my bluetooth speaker. What additional software do I need to install to play an mp3 file to the bluetooth speaker?
The current ...
6
votes
2
answers
396
views
How to temporarily secure a Pi against BlueBorne
Apparently Raspbian does not yet have a fix for the BlueBorne vulnerability, which can be exploited by an attacker within range of the device, with no need for the attacker device to be paired to the ...
6
votes
1
answer
1k
views
Use raspi to redirect wireless/bluetooth keyboard to different computers
I have around 5 computers, and having 5 keyboards is 4 too many for me right now. What I want to do is connect my Kinesis Advantage (wired) keyboard to my raspi, have the raspi redirect all incoming ...
6
votes
4
answers
12k
views
Discoverable Bluetooth on boot with Jessie
I'm pretty new to raspberry pis, I got my first one last week.
I am trying to setup up a "bluetooth server". It collects data from a serial connection and then sends it, via bluetooth, to an android ...
6
votes
1
answer
21k
views
Bluetooth AutoConnect on reboot , car setup with scripts
Alright guys I am having some issues. I have setup a bluetooth configuration (well setup is being generous, I ran a few lines of code as described here:
http://www.instructables.com/id/Enhance-your-...
6
votes
1
answer
1k
views
Rasberry Pi zero and 3 bluetooth transfer speed is slow RFCOMM
I am trying to send a series of bytes from the Raspberry Pi zero W to the Raspberry pi 3 via bluetooth. Im using the PyBluez python package.
I believe that Raspberry Pi Zero has Bluetooth 4.1 and ...