Questions tagged [bluetooth]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
26 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 ...
Chris H's user avatar
  • 575
0 votes
0 answers
14 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 ...
Amit Lichtman's user avatar
0 votes
1 answer
26 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 ...
Seamus's user avatar
  • 22k
1 vote
0 answers
70 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 &...
Seamus's user avatar
  • 22k
0 votes
0 answers
16 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 ...
user162177's user avatar
0 votes
1 answer
18 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, ...
Cprogrammer's user avatar
0 votes
0 answers
34 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). ...
jspkay's user avatar
  • 1
0 votes
0 answers
22 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, ...
yar's user avatar
  • 101
0 votes
0 answers
15 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 ...
Amol Jadhav's user avatar
0 votes
0 answers
35 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 ...
PangolinGold's user avatar
0 votes
0 answers
103 views

(Resolved) Audio over bluetooth doesn't work when launch as a systemd service

I'm running into a similar issue as (Can't play audio via BT from systemd service) on my project where audio works fine in the python script if I launch it from the command line, but if I move it ...
hkd's user avatar
  • 1
1 vote
0 answers
203 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 ...
gringott capt's user avatar
0 votes
0 answers
27 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 ...
Soham's user avatar
  • 1
0 votes
1 answer
589 views

Reading data from a BLE peripheral device via bluetoothctl

I am new with Raspberry Pi 4B and I am trying to read data sent from a peripheral BLE device, but I am having some problems and would like your help. First of all, I am able to connect to the BLE ...
aag's user avatar
  • 1
0 votes
0 answers
22 views

Is it possible to stream audio via Bluetooth over the same connection used to send Bluetooth commands?

I have a Pi 4 that receives commands over Bluetooth from an iOS app to do things like play music stored on the Pi. I am considering making it so that the music need not be stored on the Pi, but is ...
Michael Flores's user avatar
0 votes
0 answers
9 views

Smooth change from headset_head_unit to and from a2dp_sink with a script

I want to use my bluetooth bathroom speaker. That is connected to a pi zero 2 snapcast client. to pickup phone calls when im there. I'm stuck at the point that i cant make a sollid cli script to ...
Bram's user avatar
  • 1
0 votes
0 answers
35 views

OBD Raspberry Pi bluetooth and serial connections issues

So I've been trying to get my digital dashboard code working and I have to connect to the OBD plug to the Pi but ive run into a plethora of issues since then. The first time I did it, the OBD device ...
Soham's user avatar
  • 1
1 vote
0 answers
49 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 ...
John Mist's user avatar
0 votes
0 answers
187 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 ...
Steven Dezort's user avatar
-1 votes
1 answer
737 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 ...
ThN's user avatar
  • 1,063
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.
Premanand Patro's user avatar
0 votes
0 answers
19 views

Cannot use USB presenter (Logitech, Flirc) when running Jack audio on a USB audio interface

I want to use a USB keyboard'ish device on a Pi 4 running Raspbian Buster. I tried both a Logitech R400 (radio based) device, and a Flirc programmble USB receiver for Infrared. Both work fine on a ...
0__'s user avatar
  • 502
0 votes
0 answers
510 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 ...
ExMarksTheSpot's user avatar
0 votes
0 answers
201 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....
for coder in woods's user avatar
0 votes
0 answers
30 views

Bluetooth device headset_audio_gateway profile change from available to not available during connection on a Raspberry Pi

I'm working on a Raspberry Pi 4, with a Bluetooth USB Dongle. I'm trying to use the RPi as a headset connected in bluetooth to an Android device. I followed this tutorial: https://scribles.net/hfp-on-...
AntoineN's user avatar
0 votes
0 answers
49 views

Troubles connecting raspberry and OBD2 through bluetooth

I try to connect my pi zero W to OBD2 module through bluetoooth. My pi is connected to my 4G iphone wifi and I communicate with it through ssh. I used bluetoothctl and can't connect when running ...
Antoine Riguillard's user avatar
0 votes
0 answers
53 views

BIAS attack on Raspberry Pi

I am trying to recreate the BIAS Bluetooth attack on my Raspberry Pi 3. I have successfully configured it as an audio sink (to give the connection a purpose and to impersonate my bluetooth speaker) ...
Zabbidou's user avatar
1 vote
0 answers
134 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,...
twelfth's user avatar
  • 13
0 votes
0 answers
56 views

HCIUART not working after Kernel Upgrade

For some experiments with BLE I did manually a kernel upgrade of a Raspberry Pi 3B+ by using (example; I tried a few versions of the official GitHub repository): https://github.com/raspberrypi/linux/...
bilaljo's user avatar
  • 101
0 votes
0 answers
61 views

How can I use my Raspberry Pi as a Bluetooth sink with AVRCP protocol?

I've been searching the internet for two days now and have made several attempts to use my Raspberry Pi (Computemodule 4) as a Bluetooth sink with AVRCP protocol. Unfortunately, I have come to no real ...
Manuel Neff's user avatar
0 votes
0 answers
17 views

Bluetooth audio does not work under ssh (but works on the GUI)

I would like to play audio from my Raspberry Pi to an external bluetooth speaker. I have successfully connected to the device and, from within the graphical desktop (which I connect with VNC), I can ...
anumi's user avatar
  • 101
0 votes
0 answers
56 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 ...
Richard Beattie's user avatar
0 votes
1 answer
515 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.
user832's user avatar
0 votes
1 answer
508 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 ...
Matt B's user avatar
  • 11
1 vote
1 answer
249 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' ...
Dave Listman's user avatar
-1 votes
2 answers
498 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 ...
CoffeePlease's user avatar
1 vote
0 answers
182 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 ...
M0nst3rM0vi3's user avatar
1 vote
3 answers
223 views

Can't play audio via BT from systemd service

I have a Pi0 which I am using to play radio or local music files via a BT speaker (see https://github.com/WhyNine/pi-radio-music for the full source code). The code is written in perl and I am using a ...
WhyNine's user avatar
  • 51
1 vote
0 answers
122 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: >...
Satyajit Neogi's user avatar
1 vote
0 answers
96 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 ...
Ivan's user avatar
  • 11
1 vote
0 answers
62 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 ...
Tommy Geerts's user avatar
1 vote
0 answers
188 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 ...
Marcel Kopera's user avatar
2 votes
1 answer
886 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 (...
mariusmmg2's user avatar
2 votes
1 answer
372 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
1 vote
0 answers
294 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 ...
Daniel's user avatar
  • 11
3 votes
1 answer
781 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 ...
Learning_Robots_dev's user avatar
1 vote
0 answers
519 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:~...
A Dark Divided Gem's user avatar
0 votes
0 answers
1k views

Bluealsa on Pi Zero can not be installed

I am trying to install bluealsa package but getting this error : pi@raspberrypi:/usr/libexec/bluetooth $ sudo apt-get install bluealsa Reading package lists... Done Building dependency tree... Done ...
sticletele's user avatar
1 vote
0 answers
644 views

Bluetooth stopped working on Raspberry Pi 4

Bluetooth was working fine on my Bluetooth stopped working on Raspberry Pi 4 and then just it stopped turning on even on the GUI. The rfkill list shows the following results: 0: phy0: Wireless LAN ...
mohamed tahan's user avatar
2 votes
0 answers
266 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

1
2 3 4 5
17