Questions tagged [bluetooth]
For questions pertaining to Bluetooth setup, usage and troubleshooting on the Raspberry Pi, whether onboard or via a USB dongle.
803
questions
1
vote
1
answer
1k
views
Can I connect over 15 Bluetooth devices with raspberry Pi 4B 4GB ram using usb Bluetooth apapters
I have a raspberry Pi 4B 4GB ram and I want to connect it to 16 Bluetooth oximeters(BLE) and take readings after every 20 secs.
Now I know that pi can connect to only 7-8 Bluetooth devices at a time ...
0
votes
2
answers
536
views
bluetooth is not working after updation
am using pi 4 8GB for last 6 months everything was going well. Last week i updated my OS(raspbian). After that bluetooth is not working properly. i can able to pair a device successfully, but am not ...
-1
votes
1
answer
476
views
Raspberrypi4B: Unable to establish a BLE connection between RPi4B and Ubuntu Laptop
I am unable to establish an ble connection between my Raspberrypi4B and Laptop. Configuration is as below:
Laptop: Ubuntu-20.04.2 LTS, bluez version: 5.53
Raspberrypi4B: Ubuntu-21.04 bluez version: 5....
0
votes
0
answers
160
views
Raspberry pi4 + Lineage OS + bluetooth headset Dont work
hello im having some problem to use a headset bluetooth on a raspberry.
in you tube i can hear the sound perfectly
but in Linphone ( a softphone app or any other softphone ) i can hear and talk ...
0
votes
0
answers
144
views
RPI-4 Bluetooth board does not find iOS devices
On a brand new RPI-4, I cannot find apple iphones neither using module bluetooth nor bluez package.
I tried to scan for BLE devices and all the command line tools such as bluetoothctl and hciconfig to ...
1
vote
1
answer
2k
views
Pi 4 change Bluetooth MAC adress
I want to change the bluetooth mac address of the builtin wifi/bluetooth chip, but all my attempts have been futile despite multiple sources (including the commands) implying it to be possible. See e....
2
votes
1
answer
433
views
Vlc only outputs audio to bluetooth
I've got a weird problem right now.
I updated everything a couple of weeks ago (sudo apt update, upgrade etc.) and after that I had issues with the sound output to my tv via hdmi.
I managed to fix it ...
2
votes
0
answers
213
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 ...
1
vote
3
answers
280
views
Bluetooth Audio Sink causing long shutdown
I have a Raspberry Pi 4B running the latest version of Buster. I am going to run the system headless booting directly to a command prompt (but not the lite version). I have written a python program ...
1
vote
1
answer
158
views
How to get Bluetooth back in panel?
After install the drivers and stuff for a 3.5 inch LCD screen, my RPis Bluetooth seems to be disabled... The applet doesn't show in the panel like the wifi and volume does. Before the installation ...
0
votes
0
answers
125
views
How to apply authentication pin while making BLE connection using Bluez5.60
I'm trying to connect my Raspberry Pi 3B+ over BLE GATT Server using the Bluez5.6 library. I have successfully tested the BLE server application. Able to connect & communicate over the GATT ...
1
vote
0
answers
737
views
Getting iPhone bluetooth to pair with a raspberry pi to serve as 4G hotspot
I'm trying to figure out a way to pair an iPhone to a Raspberry Pi 4 (with a PIN ideally, but without is okay). Once paired, I'm going to set up the iPhone as a hotspot. All user interaction has to be ...
1
vote
0
answers
96
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:
"...
4
votes
2
answers
15k
views
Raspberry Pi 4 won't pair to bluetooth devices
I have a Raspberry Pi 4 that I plan to use as a media center, and I want to pair a controller to it. However, using bluetoothctl to pair a controller results in the controller briefly pairing and then ...
1
vote
1
answer
973
views
Raspberry Pi bluetooth not detected by any device and also not detecting any devices around it. Details below
I am using the latest version of Raspberry Pi (Buster) on a Raspberry Pi 4,2Gb model. After a fresh flash and boot up, I clicked on the raspberry pi default Bluetooth > clicked "make ...
0
votes
2
answers
86
views
How to make RPI run script without WIFI
I have a RPI with a python script on it that makes the camera record every time you hit enter, and I would like to connect to the pi from my phone or laptop via Bluetooth or another way so I can run ...
0
votes
3
answers
2k
views
Bluetooth device connection problem on RPi4 with buster
##### PROBLEM #################################
I have a bluetooth device that was connecting fine with RPi4 with buster after the GUI has loaded but I am now having problems with the connection after ...
0
votes
0
answers
675
views
Wireless button to trigger py script on raspberry pi
I'm looking for ideas and products that would enable me to run this setup with a raspberry pi:
I'm looking for a wireless wifi or bluetooth button that can be paired or connected to a raspberry pi on ...
0
votes
0
answers
115
views
Stream Xbox audio to raspberry pi via Xbox Wireless
Is it possible to transfer Xbox Audio to raspberry pi via Xbox Wireless protocol? i.e. using raspberry pi as a Xbox controller.
I need to record in-game chat voice conversations, because for some ...
0
votes
1
answer
3k
views
Bluetooth 'Connection failed - no useable services on this device'
I'm trying to communicate between my RPi4 and a custom Android app on my phone via bluetooth. I had paired the devices, established a connection, and was even sending data over a serial connection, ...
-1
votes
1
answer
485
views
Constant dhcpcd errors: eth0: authentication failed from IP address: No such file or directory
My syslog is full of these errors:
Feb 14 13:24:50 raspberrypi dhcpcd[564]: eth0: authentication failed from aa11::1111:aaaa:aa11:a1a1: No such file or directory
Feb 14 13:25:54 raspberrypi dhcpcd[564]...
1
vote
1
answer
3k
views
How to best handle Raspberry Pi 4 and Smartphone connection over Bluetooth and Python
I would like to accomplish the following task:
Interact via a python script with my Raspberry Pi and a Smartphone. For me it doesn't matter so much whether to use Classic Bluetooth or BLE but for user ...
1
vote
1
answer
240
views
RPI 4 Bluetooth Mobile Date & Time Sync [closed]
I am trying to build a carputer and I will have my mobile connected to RPI 4 through a external USB Bluetooth interface. The UI on the application will pick the time and date from Raspbian OS and will ...
0
votes
1
answer
58
views
pydbus throwing error in raspbian lite
I have successfully installed and used pydbus to communicate and control a few Bluetooth LE devices from a Raspberry Pi (full version).
When I tried to do the same with Raspbian lite, I got:
object ...
0
votes
2
answers
2k
views
Trouble connecting to bluetooth device
I'm a little confused on how I would interact with a bluetooth device on my Raspberry Pi 4. I have a four probe cooking thermometer that I'd like to read tempatures from and then make a web interface ...
1
vote
0
answers
322
views
Logitech K480 Logitech Buetooth Keyboard connection
the rasberry pi 4 does not see the bluetooth K480 Logitech keyboard.The logitech k480 KB is a multi device kb,it has a switch to switch between 3 devices.Am using number 1.Its a new kb and has never ...
1
vote
1
answer
102
views
How Bluedroid can be worked in raspberry pi4B instead of BlueZ
Want to port the bluedroid to raspberry pi4B instead of BlueZ. Because of some causes, only want to use the pi's rootfs, don't use the dbus. how to work it?
first of all, as we know,different ...
0
votes
0
answers
32
views
A2DP doesn't work with PC, but works with a phone
I used this project to set up A2DP.
There is no problem with a phone <-> rpi connection.
However, my PC (elementary OS) is struggling to connect to Raspberry Pi 4. But even when it does connect ...
3
votes
2
answers
5k
views
Python import bluetooth module
I'm trying to send and recieve data over bluetoth on my Raspberry Pi 4, via a bluetooth terminal app on my phone. I've found a couple of tutorials (e.g. this and this) which use python scripts ...
1
vote
1
answer
1k
views
Raspbian and Bluetooth Headset not working
I know, there are already several questions about this, but none of them helped me. I have a rasbian installation and try to connect to my bluetooth headset.
When I run sudo bluetoothctl I can find ...
0
votes
0
answers
39
views
How to get Blurtooth on a PI 4
I tried this to get Bluetooth set up on my PI4 with no luck
Terminal
From the Raspberry Pi desktop, open a new Terminal window.
Type sudo bluetoothctl then press enter and input the administrator ...
0
votes
1
answer
1k
views
Linux, python, Bluez, Bluetooth libraries, UUIDs, and handles
I am using the python library pygatt to talk to govee bluetooth bulbs, and it is working fine, for only 1 bulb.
The problem with it is that it won't allow more than one connection at a time since it ...
1
vote
0
answers
717
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 ...
0
votes
0
answers
243
views
Receiving audio using bluetooth and performing DSP operations
I wish to create a project on the raspberry in which I can intercept the audio data being received by raspberry pi bluetooth and perform DSP operations on that data (Like Short-time Fourier Transform ...
0
votes
2
answers
4k
views
How would I send files to Raspberry Pi through bluetooth without touching the Pi?
I want to be able to send code files to my Raspberry Pi Zero W from my Mac or Android phone, without needing to go do anything on the Pi itself.
I was able to pair and connect to my devices with ...
1
vote
0
answers
59
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 ...
2
votes
1
answer
338
views
Access Denied when scanning for BLE (Bluetooth Low Energy) devices
I'm running an up to date version of Buster on a Pi 3B+ (v1.3) and my Python program dies with
txdbus.error.remoteerror:
org.freedesktop.DBus.Error.AccessDenied: Rejected send message
errors unless I ...
0
votes
2
answers
2k
views
Send data to pc over bluetooth or wifi
I am working on a project where i have a motion sensor connected to a arduino connected to a raspberry pi and when the motion sensor detects movement i turn of my Windows pc. I want to connect the ...
4
votes
2
answers
2k
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 ...
1
vote
0
answers
49
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
1
answer
280
views
How to open a window with the output of a sensor connected via Bluetooth serial port with Python? [closed]
I connected 3 sensors via Bluetooth serial port to a Raspberry Pi 4 with the following Python program:
import socket
serverMACAddress1 = 'XX:XX:XX:XX:XX:XX'
serverMACAddress2 = 'XX:XX:XX:XX:XX:XX'
...
0
votes
1
answer
3k
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:
...
0
votes
1
answer
497
views
headless blind remote unattended Bluetooth pairing
I need a Pi to pair promiscuously with anything with a Bluetooth antenna, because we need to use it headless, in the field, with no desktop, to pair to a Brand X tablet.
Here's the existing literature ...
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 ...
1
vote
0
answers
54
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
0
answers
70
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 ...
5
votes
3
answers
11k
views
Bluetooth status: inactive (dead)
I have uninstalled BlueZ from my raspberry pi.
sudo apt-get --purge remove bluez
Then, I reinstalled it using this tutorial:
wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.47.tar.xz
tar -xvf ...
0
votes
1
answer
46
views
Why does my Bluetooth adapters only allow connection to 5 BLE sensors?
I am trying to connect 7 BLE sensors to my Raspberry Pi using an external bluetooth adapter. However, I can only connect 5 units simoustanely. I have tried with three different bluetooth adapters. Two ...
0
votes
1
answer
275
views
How to connect raspberry pi zero v1.3 with arduino over bluetooth (HC-06)
I have raspberry pi zero v1.3 which have no build in bluetooth, i want to use hc-06 bluetooth module with raspberry pi and arduino for serial communication, just for receiving data from arduino to ...
1
vote
1
answer
142
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 ...