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
0answers
13 views

Send USSD command to mobile phone connected via bluez to raspberrypi 4

I just start working with ofono and when I want to send USSD command. when I use initiate-ussd <modem> I get this error: Traceback (most recent call last): File "/home/pi/workspace/libs/...
0
votes
0answers
13 views

Pi can't make WiFi, Bluetooth and USB device detection work and boots in command line every time. Is there a possible fix?

My Raspberry Pi 4B 8GB RAM has TwisterOS. A power outage happened and then the Pi boots in CLI only at first. I have to execute 'startx' everytime I boot. Then some of my settings were changed, like ...
0
votes
0answers
19 views

problem connecting x-box controller to RPI raspian buster (NOT retropie)

I have tried all the tutorials I can find (eg https://howchoo.com/pi/xbox-controller-raspberry-pi for connecting my new X-box One wireless controller but cannot get it to work. Please help! If I ...
0
votes
0answers
23 views

Noisy sound when using bluetooth HFP with Ofono and pulseaudio

Following everything mentionned here On my Raspberry Pi 4 with Raspbian Bullseye. I have an issue with the incoming and outgoing sound of HFP when calling with my paired phone. I can hear and speak ...
0
votes
0answers
20 views

ps3 remote stopped connecting to RETROPIE

Hi I am new to retropie and just flashed my first card yesterday. The day I flashed my card, I managed to connect an original ps3 controller with no issues but this morning when I woke up my ...
0
votes
0answers
22 views

Use bluetooth keyboard from startup

I wanted to install manjaro on my raspberry pi, but there is problem: I only have bluetooth keyboard, so I can't select anything in bios. Is there a way to connect is from startup? Sorry for my ...
0
votes
1answer
21 views

Sendind data from Huawei Scale 3 to Raspberry Pi

I plan to buy wireless body scale and it would be nice to get that data wireless to my Raspberry Pi 4. I don't want to use any smart phone apps and clouds. OpenScale supports many scales but it is ...
0
votes
1answer
35 views

Raspberry Pi, how can i turn bluetooth on and off over Python script?

i want to play either a sound, which is saved on my raspberry pi as a MP3 file or send a song from my phone over bluetooth to my Pi. So i found out, that if i run a song over bluetooth and play one ...
0
votes
0answers
27 views

Trying to connect my RaspberryPi4 to a Bluetooth modem and have it trusted and paired, but get error can't connect RFCOMM socket

I have a RaspberryPi 4 and am trying to connect it to a Bluetooth modem. I have paired and trusted the modem, but when I try to connect to the modem I get the message that the connection failed (from ...
0
votes
0answers
21 views

How to save the bluetooth connection type between Raspberry Pi and Android Phone?

I have a Raspberry Pi with bluetooth installed, I'm able to connect to my Android's phone via bluetooth, but it's getting connected as a headset. However, when I go to bluetooth manager on Raspberry ...
0
votes
2answers
56 views

BlueZ Profile RequireAuthentication=False not working when trying to initiate connection without pairing

Following up from this question: How can I open a connection to my Raspberry Pi over Bluetooth without having to pair? I am trying to connect from my Windows Laptop to my Raspberry Pi over Bluetooth ...
1
vote
1answer
120 views

How can I open a connection to my Raspberry Pi over Bluetooth without having to pair?

I'm extremely new to Raspberry Pi and Bluetooth in general and have been having some trouble and confusion connecting between my computer and Pi programmatically. I'm trying to open a Bluetooth ...
0
votes
1answer
44 views

Serial Communication Between Windows and RPi Over Bluetooth

I have tried following a lot of posts online, but I could still not solve my issue. I want to instantiate serial communication between my RPi and my Windows 11 computer. Currently, I have connected ...
0
votes
0answers
15 views

Sending set-top box bluetooth commands

I am trying to create an automation scenario, where i use a raspberry pi 4 as a remote controller to send bluetooth commands to an Android set-top box, what's the best way to actually make this work? ...
2
votes
1answer
99 views

BlueZ receive Bluetooth sensor information

Good afternoon, First of all I apologize for asking questions in this thread but this is my first time writing on StackExchange. I am doing a university work where it is necessary through a Raspberry ...
0
votes
0answers
54 views

How Can I Send Data from Raspberry Pi to MIT App Inventor using RFCOMM

I want to Send a Data from my Raspberry Pi 3B+ to an MIT App that I created. I can send Data from my MIT to Raspberry Pi even to Arduino using rfcomm-server.py that comes from the PyBlueZ. but I cant ...
2
votes
1answer
73 views

Bluetooth disconnects when SSH connection closes (RPi Zero 2)

I am trying to use a headless Rpi Zero 2 (Raspian 11) for bluetooth audio streaming. I can establish a connection to a bluetooth speaker using bluetoothctl connect XX:XX:XX:XX:XX:XX from an SSH ...
0
votes
1answer
37 views

How do I send user's wifi credentials to my RPI wirelessly?

I am working on a project which would require me to connect my Rpi 0 w to my home wifi. I want to send the pi wifi credentials(ssid and psk) over my phone the very first time and then on subsequent ...
0
votes
0answers
51 views

Bluletooth mic for raspberry pi

I have a bluetooth speaker. I am able to pair it with my android phone and able to take calls via it. So it does have a working microphone in it. When I connect this to my raspberry pi zero 2 W, it ...
0
votes
0answers
61 views

Bluetooth not functioning on default Arch Linux (armv6) install

I am simply trying to get Bluetooth to work on the latest version of Arch build for the Raspberry Pi Zero W (original, not 2). I have the latest version of Arch(armv6) successfully running on the rpi ...
0
votes
0answers
42 views

Bluetooth stops working after using HDMI audio output

I have been unable to hear anything from my rasberryPi4 out of my wireless headphones just after I used the HDMI port on my monitor (which also stopped working at the same time). I know that the issue ...
0
votes
0answers
32 views

Why does this callback method run indefinitely?

I've recently stumbled upon this very useful code which I got from this link https://github.com/Douglas6/cputemp. I've modified the code for clarity reasons and so "application" class is ...
0
votes
0answers
157 views

Raspberry Pi 1 B+ bluetooth not working with dongle

I have a raspberry pi b+ and i'm currently trying to establish connection over bluetooth with my pc/phone to send some data from a sensor. I have plugged in a generic usb bluetooth dongle and it is ...
0
votes
1answer
101 views

Sharing my phone's internet to Raspberry Pi 3 via Bluetooth (Tether)

I want to share my mobile data from my phone to the pi (so when I connect to the pi, it automatically gets internet, so I dont have manually setup a mobile hotspot). I tried this with some older ...
0
votes
0answers
17 views

Switch between Bluetooth Inputs

I have a phone and a tablet that I would like to connect via Bluetooth to an Amplifier in my car. I would like to be able to easily switch the audio between the two devices. eg, quickly switch from ...
0
votes
0answers
45 views

Send Audio to Android Device Over Bluetooth Programmatically

I'm hoping to use the Raspberry Pi as a Bluetooth microphone for an android device. The basic idea is to feed audio from a USB microphone to the Raspberry pi, remove background noise, and then send ...
1
vote
0answers
74 views

Running bluetooth on Raspberry Pi 4

I hope this is the correct group for this question. If not I can redirect the post. I have developped a BSP for Raspberry Pi 4 2G using Buildroot. I enabled the rpi-bt-firmware, rpi-firmware and the ...
0
votes
0answers
62 views

Multiple Bluetooth speakers with Multiple Raspberry Pi’s

I want to be able to connect multiple Bluetooth speakers to raspberry pi’s, with two different inputs. My end goal is to have a Sonos-like system, where all the speakers are playing in sync. Inputs: ...
0
votes
1answer
62 views

What is the best method to sniff bluetooth on a Raspberry Pi?

Just bluetooth sniffing, what software does that, has to work on a Raspberry Pi
0
votes
0answers
64 views

HELP - Bluetoothctl Scan in Python3

I'm new to python and with bluetoothctl and I need to automate the bluetoothcl scan on process in python so that I just need to open the python file and start scanning right away. I've been doing a ...
1
vote
1answer
236 views

How To Revive Failed Bluetooth?

Raspberry Pi 4 Model B Rev 1.2, Raspbian GNU/Linux 10 (buster) This is a remote Pi that reads temperature sensors (indoor and out) and posts the results to a web host. Cha Am Weather The sensor ...
0
votes
1answer
261 views

RPi 3b+; updating bluez to 5.50-1.2~deb10u2 fails/hangs/

As topic says, after running apt update the OS (running Raspbian GNU/Linux 10 (buster) on kernel 5.10.52-v7+) wants me to update bluez and its dependencies. The version it's trying to update to is 5....
1
vote
1answer
131 views

How to stop pulseaudio from deleting your .asoundrc file on startup?

I have a Raspberry Pi 4 and have been messing around with Pulseaudio and Alsa a lot lately. I wrote an asoundrc file which I want the system to run every time it's on. However, Pulseaudio keeps ...
0
votes
0answers
24 views

Calling pulseaudio: paplay - p record.wav from python script doesn't work

Objective: run a wav file from python on a Bluetooth headset paired to the raspberry Pi. So far my code works well when I run it on the raspberry pi in python. Once I call the same python script from ....
0
votes
1answer
189 views

Accepting and trust automatically Bluetooth devices

I will use my Raspberry Pi headlessly, that's why I would like to be able to connect to it with my smartphone in Bluetooth. Hence I need it to pair and trust automatically the device (with or without ...
1
vote
0answers
127 views

Pi 4, Bluetooth 5, Long-Range mode

I'm playing about with flic buttons and the flicd service and only getting about 10m range indoors at the moment. Although Bluetooth 5 has the Coded PHY mode for long-range, I've read that the pi4 (or ...
0
votes
1answer
73 views

Raspberry pi 3B+ bluetooth yes/no

I hope someone can help me with this, as it's driving me crazy! I have connected mmy wife's and my mobile/cell phone via bluetooth to the rpi. So far so good. However, when I run bluetoothctl I notice ...
0
votes
2answers
120 views

Is there a way to lower the bluetooth signal strength, on a Pi 4?

I've set up the bluetooth and Works as intended, but the signal strength is much more than I need it to be. I need the range to be half of what it is right now. Update: Found a solution using the ...
0
votes
1answer
78 views

Detecting a Pi Bluetooth server on an IPhone

I am trying to set up an IoT device using a Raspberry Pi 3A+. I want the Pi to connect to WiFi, so for this I set up an access point on which the WiFi credentials can be sent. The issue is finding ...
0
votes
0answers
18 views

How to list only valid bluetooth devices?

I have setup a Pi4 using PyBluez to create a Bluetooth server. The client is on an Android phone using Android Studio. So far it is working the way I need to except that I wish to automate the first ...
0
votes
0answers
67 views

How to fix possible dbus permissions problem on bluetooth connect?

I'm trying to connect my Sony DS4 Controller to my RPi4 over Bluetooth. It has worked before and I have my BT headphones working, but the controller now really don't want to Connect. I have ...
0
votes
0answers
306 views

Cannot Pair Xbox Series X Controller via Bluetooth

I'm trying to pair an Xbox Series X controller to my Raspberry Pi 4B, but I've had no luck despite following all online instructions. I've disabled ERTM by running echo 'options bluetooth disable_ertm=...
0
votes
0answers
51 views

Use RPi3 to read sensor data from Arduino Uno with HM-10 bluetooth module

I want to use Rpi3 and bluepy read sensor data from Arduino Uno with HM-10. I write program like this : import bluepy.btle as btle p = btle.Peripheral("D8:A9:8B:7C:01:EB") while True: # ...
1
vote
0answers
241 views

Sound playback trough bluealsa-aplay not working as a service

I am trying to manually setup my raspberry pi 4 as a Bluetooth audio receiver, but there is no sound playback when I start the bluealsa-aplay service I created. It only works when I run the bluealsa-...
0
votes
1answer
73 views

How much is ble Tx power of RPI zero WH

I'm planning to estimate distances between some RPI ZERO WH using bluetooth. I'd like to know Tx power of BLE of RPI ZERO WH to measure distance.
0
votes
0answers
35 views

BlueZ 5.58 Connection Fail

I am working on the BlueZ 5.58 library using the Raspberry Pi 4. So far, I am able to install an updated version of the BlueZ 5.58 & making sample test cases. (refrance BLE GATT Server) While ...
0
votes
0answers
25 views

BlueZ 5.58 Authentication using Public & Private key

I am working on the BlueZ 5.58 library using the Raspberry Pi 4 module on Raspbian OS. I have found that the agent.py application has implemented the public-private key & fixed key authentication. ...
0
votes
0answers
1k views

Using a USB Bluetooth dongle on Pi 4

I recently purchased the Techkey Bluetooth dongle since I know the Pi system is unable to connect to multiple Bluetooth devices simultaneously. Unfortunately, I haven't had any luck doing so. I got ...
1
vote
0answers
476 views

How to make sure BlueZ NoInputNoOutput agent does not ask for user authorization?

I am trying to pair my custom made BLE device with a Raspberry Pi 4, using the bluepy library, programmatically. I do not want to press "accept" or type "yes" whenever I try to ...
0
votes
0answers
463 views

Audio alternatives for Raspberry Pi 400

So as you all know, the Raspberry Pi 400 does NOT have an audio jack, which is pretty annoying especially when I need to get audio output from it. Can I connect to a Raspberry Pi 3B via Bluetooth from ...

1
2 3 4 5
16