Questions tagged [bluetooth]
For questions pertaining to Bluetooth setup, usage and troubleshooting on the Raspberry Pi, whether onboard or via a USB dongle.
694
questions
41
votes
4answers
139k 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
3answers
71k 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 ...
29
votes
2answers
35k 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: ...
19
votes
2answers
42k 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 ...
15
votes
2answers
14k 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
3answers
11k 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
5answers
27k 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
2answers
31k 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
2answers
28k 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
4answers
61k 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 ...
12
votes
1answer
2k 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.
...
11
votes
6answers
27k 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 ...
11
votes
3answers
31k 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 ...
11
votes
1answer
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 ...
10
votes
3answers
20k 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 ...
10
votes
1answer
16k 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
6answers
15k 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
4answers
75k 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 ...
9
votes
3answers
15k 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 ...
9
votes
4answers
55k 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
2answers
33k 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 ...
9
votes
1answer
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
1answer
25k 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
14k 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
1answer
34k 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
3answers
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
2answers
17k 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
1answer
2k 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
1answer
55k 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
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 ...
7
votes
2answers
11k 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 ...
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 ...
7
votes
1answer
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
2answers
20k 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
2answers
8k 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
2answers
37k 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 ...
6
votes
2answers
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
2answers
376 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
1answer
911 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 ...
5
votes
3answers
577 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 - ...
5
votes
3answers
5k views
RPI 3 as bluetooth a2dp receiver sound cuts intermittently
All the tutorials around the topic are outdated, but following the general ideas of it I managed to get the RPI 3 receiving audio through bluetooth:
The latest raspbian version at the moment, Jessie ...
5
votes
2answers
2k views
Bluetooth Dongle not automatically Pairing with BlueSmirf
I've setup Bluetooth on my RaspPi and attempted to connect to my BlueSmirf from Sparkfun.
I can send text to my BlueSmirf from the RaspberryPi using:
echo "Testing" > /dev/rfcomm0
Now the red ...
5
votes
1answer
913 views
Is it possible to configure a Raspberry Pi 3 to become a Bluetooth adapter for a desktop PC?
Stupid question, but I've been looking everywhere. I want to configure my Raspberry Pi 3 so that it can basically serve as a bluetooth adapter for my desktop pc. Is this possible, or does it only work ...
5
votes
1answer
8k 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 ...
5
votes
2answers
3k views
need help getting the pi to work as a bluetooth source
So I got me a Pi 3B and I'm using the Bluetooth build into it.
after some tinkering around I made some progress towards this goal but I've hit a roadblock and don't know how to continue from here.
...
5
votes
1answer
2k views
Is There an Alternative to Bluetooth for Keyboard and Mouse?
I can't get my Bluetooth keyboard or mouse to work with RaspPi. I want a wireless solution. Are there alternatives?
5
votes
2answers
168 views
Gather data in rural areas
I am building a prototype with temperature and humidity sensors for rural areas and I am trying to determine which is the best way to gather data, since Internet may not be available (no WiFi).
I am ...
5
votes
1answer
19k 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-...
5
votes
1answer
1k 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 ...
5
votes
4answers
10k 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 ...