Questions tagged [bluetooth]
For questions pertaining to Bluetooth setup, usage and troubleshooting on the Raspberry Pi, whether onboard or via a USB dongle.
814 questions
0
votes
0
answers
24
views
Play the same audio file over two bluetooth speakers at the same time using Raspberry Pi 4
I need to play the same .mp3 file (happy to convert if need be) over at least two Bluetooth speakers at the same time. With the speakers I have and my phone I run into now issues - so not a speaker ...
0
votes
0
answers
17
views
Can't Get WitMotion Accelerometer (WT9011DCL) to connect to Raspberry Pi Model 4B (Raspian OS)
First and foremost, any help is appreciated,
When I try and pair my bluetooth accelerometer (WT9011DCL) to my RPI4b via bluetooth, I keep getting a message that I connected and then immediately get an ...
0
votes
1
answer
31
views
Which customizable OS for audio streaming + bluetooth output?
I'm looking to build a system for multiroom audio streaming from Spotify.
I've found a bunch of options, but most of them are ready-made, plug-and-go system images (like e.g. Balena sound, Max2Play...)...
0
votes
1
answer
18
views
How to preserve file permissions in a bluetooth transfer
I have had some success transferring files from one Raspberry Pi to another by using obexftp to send a file to an RPI that is running obex-bt. However, on the receiving end the file's permission is ...
0
votes
0
answers
44
views
RPI 4B Max Number of BLE Connections
So I have a RPI 4B and it's currently communicating with an IMU via BLE for sensor data that I need to send to the web via mqtts for a project I'm working on. (For clarification, this IMU is currently ...
-1
votes
1
answer
49
views
Failed to connect to SDP server on FF:FF:FF:00:00:00: and Advertising not working and Permission denied
I am running Raspbery PI 5 with Python and trying to get my android/MIT/Bluetooth/python stack proof of concept tested, but my python bluetooth test code says no advertising available and
sdptool ...
0
votes
1
answer
110
views
How to connect Bluetooth Keyboard through SSH on a Raspberry Zero 2 W? [closed]
I have the situation:
Raspberry Pi Zero 2 W setup with WIFI connection but no keyboard attached as no micro USB hub avaiable
I can SSH into my Raspberry PI Zero from another machine
I have a ...
1
vote
1
answer
117
views
Can't find any Bluetooth devices [closed]
I can't connect any bluetooth device to my Raspberry Pi 3, because it simply doesn't list the devices:
I checked the peripherials that I wanted to connect to my pi, and they are discoverable by my ...
0
votes
0
answers
23
views
Bluetooth to WiFi/Cell Gateway?
first and foremost, my experience has shown that knowing the proper names for technologies and ideas is a huge leg up. With that in mind, I don't really know what this idea would be called so please ...
0
votes
0
answers
70
views
Trouble establishing bluetooth connection between iOS/Windows10 and Raspberry pi Pico W through Arduino IDE
I have been having a lot of trouble extablishing a bluetooth connection between my iOS phone and a Raspberry Pi Pico W using bluetooth. I have taken a look at a lot of online resources on the matter ...
-1
votes
1
answer
41
views
Unable to use UART and Bluetooth in RPi3 with audio output simulatneously
I am using Rpi 3b+ and I am trying to use the Bluetooth and UART simultaneously.
with ls -l /dev:
Serial 0 - ttyAMA0
Serial 1 - ttyS0
I had to use the UART (for reading coordinates in GPS) and ...
0
votes
0
answers
115
views
Controlling bluetooth with a python script
I have a raspberry pi 4 model b running Raspberry Pi OS Lite 64-bit with
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.20+rpt-rpi-v8.
I have to control the Bluetooth of the ...
0
votes
0
answers
37
views
raspberry pi bluetooth not showing up on Mac
I have a bluetooth server that I wrote in python running on a Raspberry Pi Zero, and it works great. I can connect to it from my iPhone and I have python code that connects to it running on my Mac. ...
0
votes
1
answer
61
views
Raspberry Pi Zero W UART, Bluetooth, and USB
I have a Raspberry Pi with Bluetooth using the /dev/ttyAMA0 and a UART using /dev/ttyS0. Is it also possible to use the USB as another UART? Are pins 14 and 15 tied to the USB as well?
0
votes
1
answer
141
views
Disabling RPI media output
when I connecting to my RPI via bluetooth it detect it like headphones and think that it have media output. I want to disable it .
here you can see that it appears in the media output of the phone. ...
1
vote
0
answers
50
views
How to enable Bluetooth on the Raspberry Pi 3B with Void Linux?
I have a RPI 3B with Void Linux, I've searched a lot on Google how to enable Bluetooth, but I can't find solutions.... Here are the things I have already done:
Followed to the letter the indications ...
1
vote
2
answers
50
views
How can I switch mains-powered loads wirelessly, with low cost and low power consumption
I'm setting up a Pi (currently developing on a a 3B, but I'm assuming I'll upgrade to a 4B) as a CCTV server and fileserver, but I've also just got solar panels installed and would like to switch ...
0
votes
0
answers
81
views
Disable PIN request for pairing on Rpi
when i try to connect the rpi bluetooth it showa a pin. i wat to be able to connect the rpi bluetooth without a pin. how can i disable the pin?
i try to disable the pin via bluetooth settings but it ...
1
vote
2
answers
338
views
Bluetooth audio issue
I'm running a 'bullseye Lite' system (i.e. no GUI), and trying to get it to play audio through a connected Bluetooth speaker. I'm not having much luck. I tried following an earlier approach (worked on ...
1
vote
0
answers
170
views
Difficult issue with Bluetooth
This must be an RPi issue because after an hour of searching, I've found nothing similar:
I have an RPi3A and an RPi4B sitting about 2 meters apart. Both are running an up-to-date bullseye RPi OS &...
0
votes
0
answers
23
views
how to connect bluetooth devices after turning bluetooth on?
This is in LXQT, I am apparently the dumbest person in human history but I have been digging through menus for like 45 minutes trying to connect my bluetooth headphones. I got as far as where it's ...
0
votes
1
answer
42
views
Which document I can find bluetooth HCI event code meaning?
While I was searching how to find Bluetooth HCI event code meaning, I found the link below.
Raspberry Pi Bluetooth HCI Event Code Meaning
In this post, Section 7.8 Part E, Vol 4 and Section 7.7.14, ...
0
votes
0
answers
42
views
Bluetooth dongle no device found during scan
I want to use my Rpi3 to run retropie and I'm trying to connect a controller with Bluetooth. Using the integrated peripheral I was able to pair it, but the delay was huge (we're talking seconds).
...
0
votes
1
answer
140
views
BlueALSA audio not playing when initiating connection through bluetoothctl, but does play when connection initiated through device
I use a Raspberry Pi 4 as a bluetooth receiver for audio. I set it up with this script and it works well if the connection is initiated through my phone: Click on the name of the raspberry bluetooth, ...
0
votes
0
answers
20
views
Accu-Chek Glucose Meter disconnects automatically
I am using Accu-Gluco Meter to connect with my Raspberry-Pi4.
I am using bluetoothctl & also installed pygatt library.
I could pair and connect using bluetoothctl commands and everything was ...
0
votes
0
answers
92
views
Can't send document files from pi to my phone or laptop on bluetooth (it is showing up as audio)
Running Debian version 12 on a Pi4B.
My pi is my typewriter, and I want to send document (WordGrinder) files from the pi to my Pixel phone (or laptop) over bluetooth. I have a strong bluetooth ...
1
vote
0
answers
365
views
Raspberry Pi Pico w bluetooth doesn't pair
I'm trying to set up bluetooth with the pico w with the c/c++ sdk for it to communicate wirelessly with my laptop.
I'm using btstack's and rasberry pi's example of spp_streamer.c. Also shown here.
The ...
0
votes
0
answers
50
views
BlueDot Serial Bluetooth server for OBD
I am building an OBD Raspberry PI car dashboard and I've been struggling to get the adapter to connect and send info. I recently learned that the rfcomm support was dropped years ago by bluez and was ...
1
vote
0
answers
54
views
Process/Flow/steps for speeding of the booting time in raspberry pi for the cluster
I am using Raspberry pi for the cluster, that would display the basic data like the CAN data and one wire data.
For can I used the Can-Socket and for one wire I am just reading a gpio pin of raspberry ...
0
votes
0
answers
359
views
RPi 4 Bluetooth not functioning
I reset my raspberry pi 4 and now the bluetooth isn't working. I have tried different devices to connect to but all of them will connect and then disconnect immediately after which in the bluetooth ...
0
votes
1
answer
1k
views
How to enable serial communication on Pi 4 using BookWorm OS?
Raspberry Pi 4 and Latest Raspbian Bookworm OS.
I want to have Pi 4 communicate over serial connection using GPIO14 (BCM) and GPIO15 (BCM) or UART TX and UART RX.
I have followed the same setups that ...
0
votes
0
answers
109
views
i want RPi will give internet to my desktop
I'm struggling to get internet in Desktop from Raspberry Pi.
Same steps as from mobile Bluetooth to Desktop try to access internet worked. Any solution tell me.
0
votes
0
answers
908
views
Bleak/Python: BLE filtered scan with timeout, and getting AD data
My task is to scan for x seconds for a BLE device with a specific name or service UUID, then get the RSSI value for returned device(s).
Bleak seems to be the best option as far as I can see. I've been ...
0
votes
0
answers
328
views
Is it possible to enable an HSP/HFP profile in Raspian Bullseye?
I am running Raspian Bullseye (Debian 11) on a RaspberryPi 4b and would like to use my Apple AirPods as a 2-way headset. I've done lots of digging, followed this tutorial by Youness (https://youness....
1
vote
0
answers
167
views
Use Raspberry Pi Zero WH as keyboard HID driver at boot
Background
My keyboard, a Majestouch Convertible 2, has Bluetooth capabilities such that it can connect up to 4 devices. My primary driver and the 1st device the keyboard is connected to is my desktop,...
0
votes
0
answers
82
views
How to check if bluetooth packets are being recieved by BlueZ daemon
I'm connecting to BLE devices on a Raspberry Pi (running Raspberry PI OS (bullseye)) running BlueZ 5.68. I call BlueZ's AcquireNotify method to read incoming packets. However I'm not receiving all the ...
0
votes
1
answer
769
views
Can a Raspberry Pi Zero work with a bluetooth adapter?
Is it possible to use a bluetooth adapter (usually BLE) with a Raspberry Pi Zero? I don't mean the one that comes with built in wireless and bluetooth, I mean the one without wireless.
0
votes
1
answer
828
views
Issues when Using a Pi Zero 2W as a Bluetooth Headset
I'd like to use my Raspberry Pi Zero 2W as a Bluetooth headset to connect with my Android phone with an HSP profile. The speaker and microphone are connected via an external USB soundcard.
After ...
1
vote
1
answer
388
views
Can't play song on startup using Python and rc.local
I have a python app called main.py, that runs upon startup using rc.local.
During this app's runtime, it runs an external bash script 'play.sh' that runs vlc to play a song.
The code in the 'play.sh' ...
-1
votes
2
answers
818
views
Bluetooth and UART raspberry pi zero w
My objective is to get both data from VN200 GNSS/INS sensor (using GPIO14/15) and heart rate monitor strap Polar H10 (using Bluetooth) at the same time for synchronization.
Bluetooth on pi zero w by ...
1
vote
0
answers
254
views
Can I connect to bluetooth audio and send audio OUT while using an external sound card for audio IN?
Sometime ago I used this helpful tutorial: How can I use an external USB sound-card and set it as default?
to set my external USB sound card as my default. This has been great for me as I use external ...
1
vote
0
answers
152
views
Issue with connecting ELM327 bluetooth adapter to raspberry pi, Bullseye latest OS
I am trying to read OBD data from ELM327 BT Adapter. I have paired it successfully, and bind using rfcomm is also OK. However, while running the obd python module I am getting the following error:
>...
1
vote
0
answers
110
views
Stadia gamepads & pi4b bullseye bluetooth disconnects
All right,
My setup consist of a RPi 4b 4gb, 4 stadia controllers, Raspberry Pi OS Bullseye.
OS on SSD connected through powered USB3 hub, also a Coral USB connected. Power should be ok.
The ...
1
vote
0
answers
93
views
How to turn PI4 into a IOT device , discoverable and configurable via mobile app (Wifi P2P or BLE) [closed]
I've created a simple camera system on the PI 4 which I want to be discoverable with a custom android app.
The should find the PI device, then automatically connect, then mobile app will share the ...
1
vote
0
answers
263
views
Bluetooth wont start at Raspberry Pi zero 2
When I run
sudo systemctl status bluetooth.service
it shows loaded but not started.
start command wont work. I have to use btusb first.
>>> sudo modprobe btusb
>>> sudo systemctl ...
2
votes
1
answer
1k
views
Can't use Bluetooth COM ports from Windows 10
I have a Raspberry PI 3 model B, with built-in Bluetooth hardware, and I'm running the latest Debian distro on it (Linux raspberry 5.15.61-v7+).
I successfully paired and connected from Raspberry (...
2
votes
1
answer
499
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 ...
1
vote
0
answers
393
views
Bluetooth on my Raspberry Pi 2B does not work
My Pi is 2B Rev1.1
I connected HC-08 Bluetooth module on pin8,10.
I use Raspberry Pi OS.
In /boot/configuration.txt
enable_uart=1
In /boot/cmdline.txt
console=tty1 root=PATUUID=e77fdc5c-02 ...
4
votes
1
answer
1k
views
Raspberry Pi incorrectly detected as a Bluetooth AUDIO device by Windows
The problem I have is the following: when setting my Raspberry Pi Bluetooth as discoverable, then pairing from a Windows laptop, the Raspberry is incorrectly identified as an audio device, as can be ...
1
vote
0
answers
712
views
Why does a Bluetooth LE Scan include unknown duplicates?
When I perform a Bluetooth LE Scan on my Raspberry Pi 4B (Debian Bullseye) with hcitool why does it include (unknown) entries with the same MAC address as an already listed named item?
pi@raspberrypi:~...