Questions tagged [bluetooth]

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

278 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
723 views

Bluetooth auto connecting to trusted device

I have my iPhone 6 plus successfully connected(and also trusted) via bluetooth to my new raspberry pi 3. But I have to manually go into settings and connect each time. For the project I'm working on I ...
1
vote
0answers
214 views

Raspberry Pi3 as BLE to PC handler

Good afternoon, I'm new to Stack Exchange and posted this question in an area where it's probably not really the place to put it. But this seems to be the right place. A medical device I need to ...
1
vote
0answers
467 views

Raspberry Pi Zero bluetooth keyboard not acting properly

I have updated over network the Raspbian on my Pi Zero. Attached a Bluetooth dongle, same as in some tutorials, halfcircle barely wider than USB port. The dongle works OK as network connection to a ...
1
vote
0answers
323 views

My Bluetooth speaker pairs with raspberry but when i connect it says Connection failed: No such file or directory

My Bluetooth speaker pairs with raspberry but when i connect it says Connection failed: No such file or directory Please let me know if there are any links which I can refer in order to resolve this ...
1
vote
0answers
56 views

How to implement an echo-service over bluetooth smart

I'm trying to find examples of how to implement a service over bluetooth smart (ble). I would prefer a python implementation. The step i'm most interested in is the bindning between ble and the ...
1
vote
0answers
2k views

Communication between Raspberry Pi3 and iPhone/Android via Bluetooth

I have installed Bluez5 and Pluseaudio 5 in raspberry Pi3 and Now I am able to connect to iphone and Mac using command line tool "bluetoothctl" in raspberry Pi. In bluetoothctl I have to type the ...
1
vote
0answers
1k views

Bluetooth can't hold connection for more than a few seconds

My brand new Raspberry Pi 3 Model B V1.2 can't stay connected to my OBD-II Bluetooth adapter for more than three seconds before disconnecting. I've tried removing and adding it back to no avail. I've ...
1
vote
0answers
270 views

Problem installing Bluetooth Dongle on Raspberry Pi 2 running Windows 10 IOT Core

I recently got an Orico BTA-403 (officially supported) bluetooth dongle and inserted it into my Raspberry Pi 2, Model B running the most recent version of Windows 10 IOT core. I rebooted, and then... ...
1
vote
0answers
908 views

Streaming Audio From Raspberry Pi 2 to Bluetooth Speaker

I want to use bluetooth to stream any audio being played on my raspberry pi to my bluetooth speaker. I've installed bluez and all the other bluetooth packages. I can see and connect to my speaker, but ...
1
vote
0answers
75 views

Couldn't establish bluetooth connection with phone

I am able to pair my device but I am not able to connect it. I used the command sudo hcitool cc --role=m <bdaddr> sudo hcitool cc --ptype=dm1,dh3,dh5,hv1,hv2,hv3 <bdaddr> I am getting ...
1
vote
0answers
322 views

How to make a simple bluetooth connection on Raspbian?

So a week ago I finally got the bluetooth part of my code running. Everything was fine but after some changes and a failed upgrade (bad internet connection) I decided to start a fresh installation ...
1
vote
0answers
74 views

USB Bluetooth data

I am curious what the datapath for a bluetooth audio dongle is on the Pi. I need to know this so that I can intercept the data. What I would like is to connect Bluetooth and grab any audio for ...
1
vote
0answers
1k views

Pairing retropie with controllers: what does this error mean?

I am trying to pair my retropie with two 8BITDO SFC30 gamepads. To do so, I start them in the appropriate mode (pressing START+B on one and START+RIGHT+B on the other). I then connect them with this ...
1
vote
0answers
687 views

Can't connect to raspberry pi 2 over bluetooth with MIT App Inventor

I have a raspberry pi 2 with a bluetooth USB Dongle, and i've been trying for hours to connect it with an app I created on app inventor. The app is simple, just sending a string, and i've tried to ...
1
vote
0answers
1k views

Can't connect to raspberry pi 2 over bluetooth with MIT App Inventor app

I have a raspberry pi 2 with a GoerTek bluetooth USB Dongle from dx.com, and I've been trying to for hours to make a connection between my Samsung Galaxy S5 and my raspberry pi, through an app I made ...
1
vote
0answers
190 views

installing RASPBIAN 3.18 + additional packages into Raspberry Pi

I've just installed RASPBIAN 3.18 and next packages: wget http://mirrordirector.raspbian.org/raspbian/pool/main/b/bluez/bluez_4.99- 2_armhf.deb wget http://mirrordirector.raspbian.org/raspbian/pool/...
1
vote
0answers
534 views

Python serial script prevents android connection

The python script below connects via "rfcomm0" to the "Bluefruit EZ-link module" on the "Arduino Uno" but prevents the bluetooth connection from my android app. If I change the script to use "/dev/...
1
vote
0answers
418 views

PySerial not responding after 10 seconds of inactivity

I've got the JY-MCU Bluetooth module connected to the hardware serial port on my Raspberry Pi. It seems to be working except for one thing: when there is no communication for about 10 seconds or more, ...
1
vote
1answer
531 views

Bluetooth serial failure

I'm trying to connect a BT USB dongle to anything. Once paired, on my Mac (Mac OS X 10.9) I get 'Bluetooth serial failure has occurred. Failed to open RFCOMM serial channel'. It also pairs with my ...
1
vote
0answers
3k views

Cannot update or install DBus

I've been trying to connect A bluetooth dongle to a bt breakout board (kernel 3.12). Both of them show up with hcitool scan and dev. I've already installed bluez5 that keeps complaining about dbus: $...
1
vote
0answers
2k views

Connected Bluetooth Speaker not playing sound

I have connected my Bluetooth speakers to my Raspberry Pi (Wheezy). But my problem is, that the Pi is not recognizing the bluetooth speakers. There is no sound, but the player plays my music. If i ...
1
vote
0answers
1k views

RASBMC Bluetooth Playback over Sound Bar

I have a LG Sound Bar that allows audio playback using Bluetooth. I'd like to play audio from XBMC on raspbmc over the Sound Bar. At the same time, Id still like the audio from HDMI to still ...
1
vote
1answer
190 views

Can I use an old bluetooth dongle with a model 2B?

$hciconfig -a ... ... ... HCI Version: 2.1 (0x4) Revision: 0x529b Does anyone know if this hardware is incompatible? I got some old bluetooth dongles from work and found my old rpi, it's a model 2 B....
1
vote
1answer
5k views

Two Pis communication via Bluetooth: Can't connect RFCOMM socket: Connection refused

I am trying to connect two raspberry pi via Bluetooth these days. The Bluetooth I use is the Plugable USB Bluetooth. I want to set one pi to receive data sent from the other one so it can plot the ...
0
votes
0answers
15 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
20 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 ...
0
votes
0answers
34 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
49 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
0answers
33 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 ...
0
votes
0answers
13 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
7 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
0answers
43 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&...
0
votes
1answer
37 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 ...
0
votes
0answers
30 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....
0
votes
0answers
13 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
50 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
30 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 ...
0
votes
0answers
23 views

How to set up /etc/asound.conf for both bluetooth and soundcard on Rpi3

I can get sound to bt or soundcard, but how to set up for both?? this in /etc/asound.conf give bt pcm.!default { type plug slave.pcm { type bluealsa device "91:AD:70:FD:8D:3C" profile "a2dp" } } ctl....
0
votes
0answers
49 views

How to stream audio via bluetooth to an airplay speaker?

I am trying to send audio using bluetooth to my raspberry pi which then should forward the music to an airplay speaker (in my case a HomePod). The first step of sending music to the pi is ...
0
votes
1answer
37 views

Raspberry Pi Bluetooth HCI Event Code Meaning

I am recently playing with Bluetooth on my Raspberry Pi. I understand the code such as: sudo hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 1a 1a ff 4c 00 02 15 e2 c5 6d b5 df fb 48 d2 b0 60 d0 f5 a7 10 ...
0
votes
2answers
57 views

Bluetooth audio not working from webserver

I created my local website for a magic mirror project. This project includes my google calendar, weather ifo, timers, internet radio, ... For the timers and internet radio I would like to hear the ...
0
votes
0answers
26 views

How can I communicate from the terminal on the RP over Bluetooth with my Android device?

I am trying to launch an app on my Android device over Bluetooth when my ultrasonic sensor is triggered on my Raspberry Pi. I have installed a terminal emulator on my Android device and am ...
0
votes
0answers
27 views

Connect nrf52 Board to Raspberry Pi(as gateway) and create mesh network using other raspberry pis(as nodes),nrf52 dk will be mediator between Pis

I am making mesh network using Raspberry pi and NRF52 DK. I install bluez 5 and meshctl on raspberry pi. I successfully connected nrf52 dk using bluetooth. I attached screen shot. Now, I want to ...
0
votes
1answer
30 views

Bluetooth sound off

after upgrading to debian 10, have encountered problems with the sound transmitted to my bluetooth headphones. The pairing between the RPI and the headphones is done, once from the audio menu I ...
0
votes
0answers
17 views

Only one application can output audio to bluetooth speaker at a time

I have a rpi 3b+ running on the latest Raspbian Stretch with desktop (2019 April 09), I updated/upgraded all packages to newest version, everything related to bluetooth & audio is kept default. I ...
0
votes
0answers
37 views

Adding Flags to BLE HID Advertisement using bluez Raspberry Pi 3 Model B+

I'm trying to mock a BLE connection between and Android phone and a HID BLE mouse by using bluez 5.50 on a Raspberry Pi 3 Model B+ to create a mock HID BLE mouse. I've managed to advertise the device ...
0
votes
0answers
24 views

HSP not displaying on Bluetooth Control When added in sdptools

I am currently configuring my raspberry PI to act as a bluetooth headset. I have been following this tutorial https://scribles.net/enabling-hands-free-profile-on-raspberry-pi-raspbian-stretch-by-using-...
0
votes
0answers
125 views

bluetoothd: Failed to obtain handles for “Service Changed” characteristic

I can't manage to make my Pi 3 bluetooth working. As you can see I updated the /etc/systemd/system/bluetooth.target.wants/bluetooth.service file. But it doesn't seem to make the service working. $ ...
0
votes
0answers
23 views

Connect Ípega to retropie via Bluetooth

I am trying to configure a Raspberry pi 3 with retropie. The base config is ok, and the emulators are working fine with USB controller (Dualshock 4). Now I want to connect a Bluetooth Joypad made for ...
0
votes
0answers
359 views

“Hciuart.service dependency failed”, Timed out waiting for device /dev/serial1

I have the following problem: Since I wanted to use the integrated Bluetooth module on my Raspberry Pie 3 B+, I come across the following problem: Hciuart.service: Job hciuart.service/start failed ...