Questions tagged [bluetooth]

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

296 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
6k views

Two Pis communication via Bluetooth: Can't connect RFCOMM socket: Connection refused

I am trying to connect two raspberry pi via Bluetooth these days. The Bluetooth I use is the Plugable USB Bluetooth. I want to set one pi to receive data sent from the other one so it can plot the ...
1
vote
0answers
48 views

Bluetooth Troubleshooting Pi 4

Raspberry pi 4 running Picroft image. Trying to set up the pi as a bluetooth sink receiver as per https://github.com/nicokaiser/rpi-audio-receiver When I try to connect, I see on my phone: "...
1
vote
0answers
178 views

Raspberry Pi zero bluetoothctl connection fails to a device

I am currently trying to create a script to connect a Bluetooth printer to my raspberry device using CLI commands. So far I have tried using bluetoothctl but it freezes/crashes whenever I try to ...
1
vote
0answers
32 views

How to play through bluetooth speakers with RPi renderer on lan and openhome/linn android phone control point

Using RPi3b and clean installation of RaspberryPi OS Lite and connecting to network using lan. Media is stored on NAS and served to lan by minimserver. I have installed upmpdcli and mpd on RPi and ...
1
vote
0answers
25 views

Bluetooth retransmission

I'm doing a project of automation, and I would like to implement a bluetooth "retransmitter" for sound. I'm currently using Raspberry PI 4 (4gb ram) with ubuntu desktop client 20.10 This is ...
1
vote
1answer
226 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 ...
1
vote
0answers
39 views

Sound output unpredictable

I'm a bit at a loss to describe the issues I have because they don't really seem consistent to me. I use a raspberry pi 4 running raspbian. When I boot I have sound through 3,5 jack I can change ...
1
vote
0answers
37 views

Connecting a phone to a Pi 3A+ using Bluetooth fails

I want to connect my phone using BLE to a Pi 3A+. For testing I have set up a Bluetooth server using this code. I have tried connecting with nRF Connect on both a Motorola Moto e5 (Android 8.0) and a ...
1
vote
1answer
68 views

How do you stream audio from one RPi to another?

I have a RPi Zero W running Stretch and equipped with an Adafruit speaker bonnet. I have followed these instructions including points 1 and 2 mentioned in the comments. The result is a functioning ...
1
vote
0answers
85 views

Using PyDBUS to read BLE battery service

I tried to read battery service (0x180F) using pydbus and also via term but unable to find, setNotify or read the value. I tried to register-service under Menu GATT in Terminal running Bluetoothctl ...
1
vote
0answers
111 views

Share raspberry pi ethernet connection via bluetooth

So, basically I'm moving into a new flat for university and the only possibility to get internet access currently is through ethernet ports. I know you can do bluetooth tethering to get your ...
1
vote
1answer
190 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. ...
1
vote
0answers
54 views

Receive and send bluetooth audio to bluetooth device from Raspberry Pi 3

I have the Raspberry Pi 3 with the latest version of Raspbian Buster and I am looking for a way to have the RPi to receive Bluetooth Audio from a phone or laptop and output the audio to a bluetooth ...
1
vote
2answers
813 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
0answers
301 views

RPi Zero W as bluetooth keyboard / mouse “passthrough”

I'm looking for a solution to allow me to use the RPi Zero W as a gadget that will connect to my bluetooth keyboard and then present itself to my PC as a regular USB keyboard. This is workaround to ...
1
vote
1answer
461 views

Read Incoming Bluetooth Audio On Pi With Python

this is my first post on here! I am trying to make my raspberry pi 3 a bluetooth speaker which synchronizes beat of the music being played from a phone to an LED light strip. For the LED light ...
1
vote
1answer
259 views

Raspberry Pi Bluetooth HCI Event Code Meaning

I am recently playing with Bluetooth on my Raspberry Pi. I understand the code such as: sudo hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 1a 1a ff 4c 00 02 15 e2 c5 6d b5 df fb 48 d2 b0 60 d0 f5 a7 10 ...
1
vote
0answers
188 views

System doesn't discover bluetooth adapter

I have custom buildroot image built for Raspberry Pi Zero W. My primary goal is to be able to activate on-board blueetoth, however I seem to have immense problems achieving it. My main problem is that ...
1
vote
0answers
196 views

Can I use A2DP profile as audio input in a phone call for higher quality audio? I am aware this would remove the option for using microphone

I've been able to connect my raspberry pi 4 to my phone as a bluetooth HSP/HFP profile. I used PulseAudio and ofono for that, following this tutorial: https://scribles.net/enabling-hands-free-profile-...
1
vote
0answers
260 views

Route native Alsa app audio to bluetooth speaker with Pulseaudio?

I have an app that only supports Alsa, and I want to route its audio to a Bluetooth speaker. I'm attempting to use Pulseaudio to do it if that is possible. The Bluetooth speaker is paired and I can ...
1
vote
0answers
162 views

Bluetooth headphones keep disconnecting/reconnecting

I have a pair of SoundbudSlim+ that I've been using for years on my phone. Trying to get them to work on the Pi4 running up to date Raspbian. I don't need the microphone, just the audio is fine. The ...
1
vote
0answers
54 views

How to set up an Access Point / WiFi Repeater to connect through Bluetooth?

I had successfully set up my raspberry pi as an access point as WiFi repeater followed this guide: Access point as WiFi router/repeater, optional with a bridge. I would like to set up my raspberry pi ...
1
vote
0answers
170 views

Serial port communication between nRf52840 dongle and Raspberry pi 4 using Ble

I need to pass a stream of data from raspberry pi 4 to PC through Ble. I can successfully build and run \examples\peripheral\usbd_ble_uart. It can communicate with my android phone using nRF connect ...
1
vote
0answers
47 views

RPi3 Bluetooth Tethering Setup

I'm trying to setup automatic Bluetooth Tethering without a GUI, and I can't find anything that works online. A lot of forums just end at the mention of "Blueman." The only way I could even find to ...
1
vote
0answers
28 views

Headless bluetooth pairing with PIN and making it non-discoverable after pairing

I have used simple-agent found on this link, I wanted to use my Raspberry Pi heedlessly, hence I have hardcoded a specific pin in the code, instead of returning the value entered on the Raspberry Pi ...
1
vote
0answers
605 views

Failed to start Bluetooth Service

Could someone help me to rectify this error? pi@raspberrypi:~ $ sudo service bluetooth status ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled;...
1
vote
0answers
263 views

Custom Dualshock 4 Script/Program

I've got a Pi 3b that I originally planned to be a dedicated Steam Link. I already followed these instructions to set up a DS4 controller to control it, and it's working just fine so far: https://...
1
vote
1answer
316 views

How do I get a list of only bluetooth audio devices?

I'm currently using pexpect in python to use bluetoothctl. I can get a list of all bluetooth devices, but is there a way to narrow down the list to only audio devices (bluetooth speakers, headphones). ...
1
vote
1answer
2k views

Problems Connecting to Bluetooth devices through python

I am trying to write a simple python script that connects any bluetooth audio device to the raspberry pi 4. I keep getting "bluetooth.btcommon.BluetoothError: (111, 'Connection refused')" Here is ...
1
vote
0answers
102 views

Mapping Bluetooth Device

I have been able to successfully map a USB controller with Raspberry Pi 4 using this tutorial: https://core-electronics.com.au/tutorials/using-usb-and-bluetooth-controllers-with-python.html I'm now ...
1
vote
0answers
66 views

How to make it run without internet connection? - what part of code keeps it from running?

My RBPi zero has a spotty reception close to the door where it keeps monitoring registered phones on bluetooth and trigger the door opener. What are the options to make it work without/irregular wifi ...
1
vote
0answers
239 views

Raspberry Pi Bluetooth/6lowpan to WiFi IPv6 Router. Ping6 Not working

I want to route data between BT/6lowpan interface and wifi interface on a Raspberry Pi platform. Done all the setup as described below. But the Ping6 from Bluetooth (bt0) to Wifi (wlan0) not working. ...
1
vote
0answers
30 views

What is this prompt saying about bluetooth?

I tried to fix some problems with the bluetooth and uninstall pi-bluetooth. Also installed it .But the problems are bigger now. What is this prompt saying.
1
vote
0answers
64 views

Bluetooth and wifi settings not working correctly

I'm working on a project regarding a headless Raspberry Pi 3 B+ The Raspberry have to work as a Bluetooth-speaker with a HifiBerry Amp2 hat on top. The Bluetooth has to be open, and able to accept the ...
1
vote
0answers
307 views

bluetoothctl hangs with “connect to bluetoothd”

I have a Raspberry Pi 3 and I have been playing with the bluetooth functionality. It worked for a while: I successfully paired a Windows machine with my Pi, but now it does not work anymore. I used ...
1
vote
0answers
434 views

bluetoothctl in debian 10 pairing poblem

When I try to pair my RPI Bluetooth with some other Bluetooth it pairs some time and then it is dis-pairing by itself. How can I fix this problem? My OS is Raspbian 10 buster and the version of Bluez ...
1
vote
0answers
936 views

Alsa Lib PyAudio error on Raspberry Pi 3b+

I was looking at an old question that gave advice for fixing these errors: ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM ...
1
vote
0answers
202 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 ...
1
vote
0answers
67 views

How to connect to Android to Raspberry Pi through Bluetooth

I have been trying to connect my Raspberry Pi B+ with my phone through Bluetooth, my Android phone is also paired with the Pi but couldn't connect. I also tried to connect from terminal using ...
1
vote
0answers
30 views

Can't get bluetooth headphone mic working with pi

I am trying to get my Bluetooth headphone mic working with pi b+, my headphone gets connected and audio output is also working but its mic isn't working with pi. I had gone through several online ...
1
vote
0answers
60 views

Trigger Volume Up key press in Android with Bluetooth in Node.js

I'm making an app in Node.js and I need to make a remote shutter for Android's camera via Bluetooth. I'm using Bleno/Noble libraries to achieve Bluetooth connection. As far as I know, selfie sticks ...
1
vote
0answers
313 views

Raspberry Pi 3 emulating bluetooth keyboard running server

I'm trying to emulate bluetooth keyboard on raspberry pi 3. I'm trying to connect my RPI3 with my lapbtop first via btk_server.py code which I got from github. I downloaded the code from github and ...
1
vote
0answers
36 views

How do I use my RPi3 to act as a wireless adapter to make a nintendo switch controller?

GOAL: to make a wireless nintendo switch controller First steps, i want to be able to connect a keyboard to the Pi3 to use as a wireless keyboard ie. can connect to another computer or device and ...
1
vote
0answers
439 views

Mopidy with PulseAudio sound over TCP

So I have been struggling with this for a while now and looked everywhere for solutions. I have installed Mopidy with Spotify extension on my Raspberry Pi 3B but I can't seem to get the pulseaudio ...
1
vote
0answers
196 views

Can't get Recalbox to pair with my Apple wireless(bluetooth) keyboard 2011

I have a raspberry pi 3 running Recalbox v6.0 and an apple wireless keyboard 2011. I cannot get Recalbox to pair with the keyboard. I have read some posts which suggest you have to unpair the ...
1
vote
0answers
267 views

Bluetooth Device keeps connecting/disconnecting (Raspi 3B, Stretch)

I set up my Raspi as A2DP sink and I am able to connect my Laptop and stream audio to the pi. Now I want to connect another device to stream it's audio signal and make FFT analysis. The problem is ...
1
vote
0answers
183 views

Pi Zero W 1.1 dead wifi

About a month or two ago I bought a pi zero w from microcenter for a project but I didn’t start on it until now. I now realize the Pi that I got is one of the defective ones with a bad firmware, so ...
1
vote
0answers
528 views

Raspberry Pi/OBDII/Serial Communications over Bluetooth

Thanks for having a look at my post and my problem :) I'm presently developing an automotive on-board diagnostics scanner application in python3/wxPython. For the communications heavy lifting, I'm ...
1
vote
0answers
47 views

Bluealsa not discovering nor connecting with iPhone

I am having a problem in trying to get my iPhone able to discover the raspberry pi as well as getting the raspberrypi to pair with the iPhone. I am using bluealsa as pulseaudio got replaced, however ...
1
vote
1answer
2k 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 ...