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
1answer
30 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 ...
0
votes
1answer
37 views

Is it possible to connect a Raspberry Pi with multiple inertial sensors simultaneously via Bluetooth?

I'm working on a project in which I have to connect 3 (or more) inertial sensors to a virtual reality headset (OculusQuest) via Bluetooth, but the problem is that it only accepts one connection, so I ...
-1
votes
0answers
17 views

output sound from a breadboard to bluetooth headphones

I am trying to make a synthesiser on a breadboard and im using a rpi to output my sound to bluetooth headphones, any ideas?
0
votes
0answers
35 views

Temperature/PH/Humidity sensors Wireless?

I am designing an irrigation system. I have already put in place the pump piece, piloted by the Raspberry through a relay. Please note that this is an outdoor system, so the less wires are there the ...
0
votes
0answers
25 views

How to add magic trackpad and magic keyboard and allow multi touch on pi 4? also have a iogear bluetooth dongle GBU521 [closed]

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian ...
1
vote
1answer
20 views

BlueZ with Raspberry Pi 3

I'm working on a project that involves interfacing a PC (windows based) with a raspberry pi 3 using Bluetooth with c++. I've done some research and found that the library BlueZ is one of the best ...
0
votes
1answer
31 views

Unable to broadcast string as beacon

this question is a continuation of the previous one on "How to read a string from a file and advertise as a beacon?". Link here: How to read a string from a file and advertise as a beacon? ...
0
votes
1answer
68 views

How to read a string from a file and advertise as a beacon?

I am using Raspberry Pi to advertise a string stored in a text file on Desktop. I am very new to the concepts of GATT services and characteristics and reading the BlueZ documentation caused me ...
0
votes
1answer
28 views

Bluetooth connection between Android smartphone and Raspberry Pi fails

A Bluetooth connection with a fresh flashed Raspberry Pi OS should work out of the box, at least with a Media audio profile. I can pair the smartphone and the RasPi but I cannot connect using ...
0
votes
1answer
44 views

How to broadcast a message with EddyStone beacon?

I am using a pi as a beacon and I have implemented EddyStone beacon URL. I can broadcast short URLs with no issue but now I want to broadcast a simple message which is stored as a string in a text ...
1
vote
0answers
43 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 ...
0
votes
1answer
17 views

How can I copy Bluetooth pairings from a working Raspbian to a fresh installation

How can I copy Bluetooth pairings from a working Raspbian to a fresh installation. Setting up on each new installation destroys existing pairings.
2
votes
1answer
105 views

Bluetooth Blues, Redux

NOTE: All questions here pertain to Raspberry Pi OS, Lite version I have asked a similar question here, without getting an answer. Eighteen months have passed, new information has come to light and I ...
1
vote
0answers
34 views

How can I make Raspberry Pi's Bluetooth discoverable to iPhone or iOS? [duplicate]

I've got a Raspberry Pi 4B, when I use an Android phone to connect to the Pi with Bluetooth, it works normally, both pairing and connection. But when I use an iPhone to do the same thing, the phone ...
2
votes
1answer
120 views

BLE connection timeout on Pi3 B+

With a Pi 3B and a Pi Zero I'm able to connect to a BLE device without problem, but if I try to connect to the same BLE device with a Pi 3B+ it connect and disconnect after 1s with a timeout error : ...
0
votes
1answer
48 views

Pi 4 - How do I auto-connect to the bluetooth device with the strongest signal and send a file over bluetooth?

I am trying to connect to a bluetooth device with my Pi 4 via Bluetooth. Upon boot, I want the Pi 4 to automatically turn on its bluetooth and select the device with the strongest signal and then ...
0
votes
1answer
45 views

Running the Pi as a bluetooth host device rather than a client in python

I'm trying to find some example code for using the pi as a bluetooth device so that other devices can search for it and pair with it. Specifically I want to make it behave like a bicycle power meter ...
1
vote
0answers
40 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 ...
0
votes
0answers
53 views

How to connect 2 raspberry pis 3 using bluetooth?

Everything is in the title, how to connect 2 raspberry pis 3B+ using Bluetooth. Here is what I have done so far (I have no graphical interface I use the lite version of Raspbian): I followed this ...
0
votes
1answer
45 views

Connecting from an NRF52480 to a Raspberry Pi Zero

I too am trying to connect the NRF52840 (ItsyBitsy) to a Raspberry Pi Zero via bluetooth. As I am very new at this, I am having trouble where to start. What I do have running is the ItsyBitsy board ...
0
votes
0answers
30 views

Some Bluetooth devices are not detecting in raspberry PI 3

when I use "bluetoothctl scan on" command some mobile phone not detecting. ex - when I scan and turn on mobiles phone Bluetooth Huawei mobile phones can be detected and Oneplus 5T cannot be ...
0
votes
1answer
28 views

I want to allow two instances of mPlayer to play music over a single bluetooth link to a speaker

I have an application which makes two uses of playing two files at the same time. The first is where it plays a white-noise file very quietly and continuously so that the sound-card does not go to ...
2
votes
1answer
78 views

How PowerOff Bluetooth on Pi4?

There's some information around disabling Bluetooth interface on boot for Raspberry Pi3 and previous, as described on this page: Disable power on Wifi and Bluetooth interfaces during boot? The same ...
1
vote
1answer
47 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. ...
2
votes
1answer
260 views

RPI 4B - Bluetooth unavailable on Ubuntu 20.04

I want to use Bluetooth on a Raspberry Pi 4B which has Bluetooth included. I used an Ubuntu 20.04 64-bit server image (using the Imager) mostly because I already know this OS. After a fresh install, ...
-1
votes
1answer
102 views

What's the best solution to detect the coming of a person [closed]

I have a robot which should detect an approaching person and identify them in a range of about 1-3 meters. For that, the person should have something on their key ring, ideally without battery life ...
1
vote
0answers
41 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 ...
0
votes
0answers
36 views

Reading, converting Object Array

I am trying to compile : new_value = int(1500).to_bytes(2, byteorder='little') but it throws error in Python 3.5 and 3.8. I am new in python and couldn't find an explanation on this. And also how to ...
0
votes
0answers
57 views

No audio from HDMI, Bluetooth, or Jack port (Raspberry Pi 4B)

new user here. Finally got around to using my raspberry pi 4B this week and I'm having troubles getting audio from all 3 methods mentioned in the title. I've researched here and there for hours about ...
0
votes
1answer
84 views

Trouble Connecting Raspberry Pi 4 to Android Phone Via Bluetooth

I've been trying to connect my Raspberry Pi 4 to an Android phone via Bluetooth by following these tutorials first tutorial, needs translation, second tutorial, and last tutorial. Since I currently ...
0
votes
1answer
90 views

Raspberry pi 4 bluetooth file transfer rate [closed]

I am new to raspberry pi so please forgive me if I ask a silly question. What I am trying to do is send files from my windows 10 laptop to raspberry pi with raspbian OS, I was able to send some data (...
1
vote
2answers
194 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. ...
0
votes
1answer
156 views

Bluetooth library for Raspberry Pi

Based on this update of the author of bluepy https://github.com/IanHarvey/bluepy/issues/403 it looks like it will take some time before it is updated or might be abandoned if there is no further ...
0
votes
0answers
40 views

select audio sink via cmd line on buster

With Raspberry Pi OS Buster after connecting my bluetooth speaker, I can select this as audio sink very simple by right clicking on the audio symbol and selecting the bluetooth speaker. That works ...
1
vote
1answer
158 views

Scripting bluetoothctl causes it to fail after connection

I'm connecting to a custom BLE enabled board. Running bluetoothctl, I can pair and connect no problem from the command line. I've been attempting to script it using Python and pexpect. Pexpect spawns ...
1
vote
1answer
48 views

Not getting an “Enter Pin” prompt when pairing with BLE device

I have a custom board that uses BLE to get Wifi credentials. I'm trying to pair with the board using my Pi. I'm using bluetoothctl. Here's what I get when I try to pair: [bluetooth]# agent on Agent is ...
0
votes
1answer
55 views

Best way to expose a web interface without connecting to a Wifi

I've multiple small projects on raspberry pi zero w in mind. They are all some 3D printed part that will have some led, sensors, ... Usually, they will work independently, and some of them will be ...
0
votes
0answers
17 views

Pi4, Enhance BLE channel hopping

As the Cypress chip on RPi4 is handling Wifi and BLE, it can be useful if it would share Wifi channel information prior BLE connection. In BLE connection request RPi sends out the allowed BLE channels ...
0
votes
0answers
9 views

Pi4, BlueZ Limit channels

(How) is it possible to limit the usable channels for bt connections? I.e I want to connect to a device with gatttool. As gatttool does not have any of this low-level setting., can I somehow limit the ...
0
votes
1answer
62 views

Installing Gattlib error

Like many others, I've had problems installing gattlib using pip. I've followed the steps outline in this question to no avail: Pybluez and Gattlib error The steps that give me the error: hg clone ...
0
votes
0answers
64 views

Bluetooth speaker connected but no audio, AV earphone no audio (only VLC is good), HDMI working propedly

My Bluetooth speaker device (JBL Charge 4) connected, but no audio. The /etc/dbus-1/system.d/bluetooth.conf edited. I change the "default" context policy from "deny" to "allow&...
1
vote
1answer
29 views

Disallow multiple bluetooth connections

I recently created a Raspberry Bluetooth music player with MQTT control, and discovered that, Raspberry allows multiple users to connect at the same time, and plays up to 3 people's music (which is ...
1
vote
0answers
18 views

How do I fix my crashed bluetooth? [duplicate]

After an apt update today, my bluetooth menu disappeared from the menu bar. Even the services are not running anymore. Whenever I am trying to fix something(with systemctl and apt), this message ...
0
votes
1answer
91 views

BLE data receive and send from arduino HC08 to raspberry pi

I have noticed that there are lots of topics about classic BT connect to arduino and send data to raspberry pi by creating virtual port (using rfcomm) I have tried this method for BLE Device. However ...
1
vote
1answer
80 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 ...
0
votes
0answers
41 views

Connect and use Bluetooth headset

I am on a Raspberry Pi 2 Model B with Raspbian buster and have issues using my Bluetooth headset. I tried to use some of the several available HowTos. Best working for me are the HowTos using bluealsa....
2
votes
1answer
115 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) ...
0
votes
0answers
19 views

Raspberry Pi 3 : how to find device number and card number with bluetooth

I'm trying to set up google assistant on my raspberry pi with this guide: https://pimylifeup.com/raspberry-pi-google-assistant/comment-page-2/?unapproved=27549&moderation-hash=...
0
votes
0answers
83 views

Playing audio on Bluetooth speaker using pygame

I know there are already posts related to this question, but there aren't any I can find that have worked for me. I am attempting to get an iHome B66 Bluetooth speaker to play sound coming from my ...
0
votes
0answers
34 views

How to bind raspberry pi bluetooth com ports to a /dev/rfcomm or /dev/ttry device

I have bluetooth device which on windows has 2 com ports com3 amd com4 I found the device using bluetoothctl agent on scan on pair ##:##:##:##:##:## rfcomm bind /dev/rfcomm0 00:16:A6:00:06:E6 ...

1
2 3 4 5
14