Questions tagged [bluetooth]

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

325 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
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 ...
False's user avatar
  • 61
6 votes
0 answers
20k views

Bluetooth MAC Address Raspberry Pi 3

I'm trying to connect two raspberry pi 3 betweem them via bluetooth. But the fact is that their MAC addresses are AA:AA:AA:AA:AA:AA Does anyone knows how to assign them a real mac address in order ...
munozloisivan's user avatar
6 votes
0 answers
891 views

Inateck BTA-CSR4B2 USB Bluetooth 4.0 Adapter not scanning

I bought an Inateck BTA-CSR4B2 USB Bluetooth 4.0 Adapter and plugged it into my Raspberry Pi. Setup was smooth (got bluetooth, blueman, bluez-utils from apt-get), but I can't get any scan results from ...
Ruggero's user avatar
  • 61
5 votes
0 answers
2k views

Why won't pygame play sound over Bluetooth when everything else works?

I having trouble getting a program I've written using the pygame sound mixer to play sound to work over Bluetooth. The program is able to work correctly over HDMI audio. The Raspberry Pi has no ...
Cin316's user avatar
  • 151
4 votes
0 answers
5k views

Bluetooth repeater/bridge

I was wondering if somebody already tried to create some sort of Bluetooth repeater or bridge? I know they are not the same, but both systems should work for my needs. In detail, I am trying to ...
Nils Q.'s user avatar
  • 41
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
0 answers
1k views

Can't connect PS3 controller to Pi using Sixaxis

I am trying to use sixaxis to connect a ps3 controller to my Raspberry Pi. When I run sudo ./sixpair_rpi, I get: Current Bluetooth master: xx:xx:xx:xx:xx:xx Setting master bd_addr to xx:xx:xx:xx:xx:...
Fredenburger's user avatar
4 votes
0 answers
3k views

Share Wi-Fi Internet access via Bluetooth on Raspberry Pi

I have tried multiple ways I got on Google, without luck. I know if I am on an Ubuntu machine, I can use BlueMan to configure this. Actually I have already succeeded in that. However, I think BlueMan ...
bfrgzju's user avatar
  • 191
3 votes
1 answer
703 views

Pi Zero W Bluetooth Connection Getting Dropped

I have a Rpi Zero W with headless setup and I am trying to connect my bluetooth speaker into my Raspberry Pi W. I followed this Setup Bluetooth on Raspberry Pi I followed these steps to be exact 1. ...
Mark Estrada's user avatar
3 votes
0 answers
282 views

How to stream audio via bluetooth to an airplay speaker?

I am trying to send audio using bluetooth to my raspberry pi which then should forward the music to an airplay speaker (in my case a HomePod). The first step of sending music to the pi is ...
Patrick Balada's user avatar
3 votes
0 answers
325 views

help getting ble-mesh (bluetooth mesh) working

I was hoping to get some help. I have been working on getting bluetooth mesh working on my raspberry pi 4 for a few days and feel I am hitting a brick wall. I am referring to this pdf that was ...
Simon's user avatar
  • 31
3 votes
0 answers
901 views

Connect with VNC to RPI 3B+ via Bluetooth

I want to do VNC via Bluetooth between my Raspberry pi 3b+ and an android phone. Some forums say that bluetooth technology is so slow to connect VNC via a DUN network, but I was doing some research ...
BlueSeph's user avatar
  • 149
3 votes
0 answers
1k views

Two Bluetooth headphones connected to the RPi 4 B at the same time?

Has anybody successfully connected two Bluetooth headphones to the RPi 4 at the same time? What profiles does it support?
Bostjan's user avatar
  • 71
3 votes
0 answers
199 views

Configure AlexaPi to use bluetooth speaker connected to my Raspberry Pi 3B+

I am trying to clone Alexa on my RaspberryPi 3B+. Following are the links which I am following. https://github.com/alexa-pi/AlexaPi https://github.com/alexa-pi/AlexaPi/wiki/Installation I have done ...
Prasanth Kumar Vinakota's user avatar
3 votes
2 answers
3k views

How to set up the Edimax EW-7611ULB combo Bluetooth WIFI dongle

Although, this dongle works (for awhile), there is a problem with the bluetooth driver. After streaming for about an hour, the driver eats up all the Pi memory and the Pi stops responding. Power ...
Ken H's user avatar
  • 141
3 votes
0 answers
774 views

BLE Connect fails with page timeout

I've got a custom BLE 4.1 device and I'm trying to connect it to Raspberry PI 3 B+ using hcitool, gatttool, bluetoothctl, ..., without success. The device is an NRF BLE chip with the Nordic UART ...
PirklW's user avatar
  • 131
3 votes
0 answers
242 views

How to scan undiscoverable bluetooth devices with Kali?

I set up a Raspberry Pi 3 with Kali Re4son kernel. My goal is to scan bluetooth speakers that are already paired. But paired devices don't show up when I do bluetooth scanning with Kali's tools and ...
Kent Albert OZCELIK's user avatar
3 votes
0 answers
179 views

Bluetooth fails to connect to PoGo mobile printer or transfer files to it - Raspberry pi zero w

I am attempting a project where my Raspberry Pi Zero W (running Raspbian Stretch Lite) sends photo files to my Polaroid PoGo instant photo printer via Bluetooth, particularly the OBEX Object Push ...
Cman1029384756's user avatar
3 votes
1 answer
2k views

Raspberry Pi 3 & Arduino: [bluetooth.btcommon.BluetoothError: (112, 'Host is down')]

I am trying to send informations from Raspberry Pi 3 to Arduino Uno with bluetooth. I managed to connect the Arduino's bluetooth module with the Raspberry Pi. But I have this error when I execute my ...
mkfahmi's user avatar
  • 31
3 votes
0 answers
738 views

Bootstrapping wifi over bluetooth

I"m looking for a way to configure the raspberry pi zero in a completely headless way. I have seen many IoT devices that use a BLE connection to then configure a wifi connection. Can anyone suggest a ...
Bluephlame's user avatar
3 votes
0 answers
1k views

bluetooth class doesnt stick

I'm trying to set up bluetooth on my pi3. I've tried following a few guides (starting from a fresh install each time), but each time I hit the exact same problem. Following this guide, I've done the ...
Sk93's user avatar
  • 131
3 votes
0 answers
6k views

Pi bluetooth not detecting any devices

Board: Raspberry Pi 3 I have a Pi which is unable to detect any bluetooth peripherals. I diagnosed the bluetooth service by running sudo service bluetooth status which throws the error Failed to ...
Rob van Dijk's user avatar
3 votes
0 answers
685 views

Disable onboard Bluetooth device and remap UART0 on Windows 10 IoT Core

We would like to use Gertbot card on Raspberry Pi 3 to control motors and to read distance sensors. For that, serial communication using UART0 on GPIO pins 8 and 10 is required. Observing Raspi serial ...
Petri K's user avatar
  • 183
3 votes
0 answers
2k views

Raspberry Pi 3 Bluetooth Baud rate

How do I increase the available baud rate of the bluetooth module for the Raspberry P1 3 model B? I have tried editing the /boot/config.txt file with: init_uart_baud=1000000 init_uart_clock=16000000 ...
mlawes's user avatar
  • 31
3 votes
0 answers
2k views

Emulate a Bluetooth Keyboard with a Raspberry Pi 3

Raspberry Pi 2 Model B (Raspbian Wheezy and bluez 4.99) Executes perfectly using a Bluetooth dongle. Raspberry Pi 3 Model B (Raspbian Jessie and bluez 4.99) Attempting to pair with Windows laptop ...
Yousef Abdelsalam's user avatar
3 votes
0 answers
316 views

BLE alternatives to Beacon transmitter - Pi2

I'm working with a Raspberry Pi 2 Model B. Currently my Raspy sends a Beacon signal. No problem to receive it with an Android App. The problem is that iOS can find beacon devices only if i already ...
Alberto Fecchi's user avatar
3 votes
0 answers
662 views

Rfcomm0 Console Over Bluetooth

I followed this tutorial here: http://jasiek.me/2014/10/04/bluetooth-console-on-a-raspberry-pi-using-a-usb-adapter.html I am trying to connect my Galaxy Note 5 to my Pi over a USB Bluetoothub module. ...
Patrick Cook's user avatar
  • 6,305
3 votes
0 answers
505 views

How to connect to Bluetooth LE devices without being root (via sudo)?

I am running Raspbian with BlueZ 5.30 and a Cambridge Silicon Bluetooth USB Dongle installed. I can successfully bring up the BLE interface, as well as detect and connect to a TI SensorTag over BLE ...
hotpaw2's user avatar
  • 271
3 votes
0 answers
1k views

Bluetooth Input Not Outputting High Quality Audio to FM

I have Raspian Wheezy running on my Raspberry Pi. I have set it up to run pifmplay and output the sound to HDMI - (Pin 4 on GPIO) so that the Pi is now working as an FM Transmitter. This part works ...
motionpotion's user avatar
2 votes
1 answer
135 views

Raspberry Pi 4B Ubuntu 22.10 Bluetooth scan successful but fail to pair

My mouse stopped working a few days ago and is unable to work since then. I tried but fail to pair it again through either Terminal or Settings > Bluetooth. The Bluetooth right now is able to ...
yts61's user avatar
  • 121
2 votes
0 answers
126 views

Problem with the import bluetooth!

I have tried a lot of this lines programs but the terminal it keep's complaint. Error message: Import Error:No module named bluetooth._bluetooth I have install some lib but again the problem it shows. ...
Lilfio's user avatar
  • 21
2 votes
0 answers
78 views

Headless Pi auto-pairs to tablet, but if the tablet drops the pair then the controller won't re-pair

tl;dr ...how do Bluetooth speakers with only an On button rebuild a broken pair? background If you want to build a robot with no user interface that connects to a tablet, you build the Pi to enable ...
Phlip's user avatar
  • 308
2 votes
0 answers
1k views

How to make sure BlueZ NoInputNoOutput agent does not ask for user authorization?

I am trying to pair my custom made BLE device with a Raspberry Pi 4, using the bluepy library, programmatically. I do not want to press "accept" or type "yes" whenever I try to ...
robino16's user avatar
2 votes
0 answers
209 views

Bluetooth device connection lost after a second

With the Raspberry Pi 3B i was able to succesfully pair and connect a Barcodescanner (OPN2006). For this, I used the following code: pi@raspberrypi:~ $ bluetoothctl Agent registered [bluetooth]# power ...
Beginnerlevel's user avatar
2 votes
1 answer
403 views

Bluetooth Audio not working with Chromium

I am having a problem using Chromium with bluetooth. I have a new Raspberry Pi 4 with Raspbian Buster. Using VLC, or aplay at command prompt, I can hear audio through bluetooth headset. However, I ...
user2734805's user avatar
2 votes
1 answer
1k views

BluetoothError: (111, 'Connection refused')

I'm trying to connect raspberry pi 4 to my ubuntu laptop. I setup a rfcomm server on my laptop, the code is given below: import bluetooth server_sock = bluetooth.BluetoothSocket(bluetooth.RFCOMM) ...
null's user avatar
  • 21
2 votes
0 answers
398 views

How to access bluetooth controller on `/dev/input/js0` as user/group?

I'm working on an application that is reading an XBox controller connected via bluetooth. After configuring it (see https://pimylifeup.com/xbox-controllers-raspberry-pi/), I noticed that only root has ...
jhill515's user avatar
  • 121
2 votes
1 answer
858 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 ...
phlare's user avatar
  • 29
2 votes
0 answers
1k views

Trying to use Ethernet over Bluetooth between Pi boards

I'm trying to use SSH over Bluetooth via Ethernet over Blutooth. I've based my effort thus far on: Bluetooth PAN Network Setup with BlueZ 5.X I believe I have faithfully followed the instructions. ...
jski's user avatar
  • 141
2 votes
0 answers
899 views

Relay Bluetooth keyboard out as a USB keyboard

I have a bluetooth keyboard that's originally connected to my desktop PC. The problem is that I can't use it in BIOS or to select different boot options at grub because the bluetooth drivers aren't ...
oyassin's user avatar
  • 21
2 votes
0 answers
2k views

Permission Denied as root when connecting BluetoothSocket with Bluez 5.43

I've been trying to get bluetooth working on my Raspberry Pi 1 Model B+ running Raspbian Stretch Lite 4.14 with a 3rd party USB bluetooth dongle. I installed Bluez 5.43 for python 2.7, and was able ...
a.deshpande012's user avatar
2 votes
0 answers
2k views

org.bluez.Error.Failed: Raspberry Pi and obexpushd

I am attempting to connect two Raspberry Pi's via Bluetooth. I have loaded all the libraries needed on both pis. Here is my methodology: Boot the pi's Run: sudo obexpushd B-23 -o /bluetooth -n # On ...
SwankyTigers's user avatar
2 votes
0 answers
387 views

Bluetooth Network access point problems

Hi we have two Pis (A Pi3 acting as a server/gateway and a Pi0W acting as the client) and we are trying to get them to communicate. They are connected via Bluetooth, and the Pi3 has a NAP server ...
Garrett M's user avatar
2 votes
0 answers
203 views

Direct sound playback via HDMI with sound input from Bluetooth Mic

I've connected my Raspberry Pi to a TV via HDMI, by default the sound output is through TV speakers via HDMI. I installed pulseaudio and successfully connected a Bluetooth headset [samsung HM1100] to ...
jjey's user avatar
  • 21
2 votes
0 answers
79 views

How get old Apple bluetooth keyboard and mouse recognised

I have an old Apple Bluetooth keyboard and mouse from about 12 years ago. They can still connect to my newer Mac laptop, but the Pi 3 bluetooth adaptor cannot see them at all. According to Apple's ...
tarling's user avatar
  • 121
2 votes
0 answers
4k views

pulseaudio:"Denied access to client with invalid authentication data"

I'm running Debian Stretch on a RPi 3 and to play audio via my bluetotth box without any luck. This is basically what I did: https://github.com/davidedg/NAS-mod-config/blob/master/bt-sound/bt-sound-...
tringler's user avatar
2 votes
1 answer
2k views

Raspberry Pi 3, bluetooth is not getting connected with HM-10 bluetooth module

I currently have a Raspberry Pi 3 with built-in bluetooth and some of my work specification require to connect it with HM-10 bluetooth module but I am unable to do so. I have tried various methods ...
Bilal Riaz's user avatar
2 votes
0 answers
742 views

bluetooth not work for rpi3

I am using Rpi3 bluetooth. when I try to use bluetoothctl cmd, it returns No default controller available root@raspberrypi:/home/pi # bluetoothctl [bluetooth]# power on No default controller ...
yohu's user avatar
  • 21
2 votes
0 answers
13k views

Connecting a bluetooth device in python using pybluez

wondering if anyone can help me with this. I'm very new to programming in general and am struggling getting my head around bluetooth. I have been trying to follow the examples given at http://people....
daragh's user avatar
  • 56
2 votes
0 answers
883 views

Raspberry Pi Ant+ to Btle Bridge

I would like to know if it is possible to program a raspberry pi to receive ANT+ from a usb dongle and broadcast that data in the form of bluetooth to an iphone? I know there is a device called a ...
tullyamo's user avatar

1
2 3 4 5
7