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
208 views

Can't connect to bluetooth switch

I have a Pi3 running Jessie and I'm trying to connect to this plug, https://www.amazon.com/gp/product/B00PG50OSM/ref=od_aui_detailpages00?ie=UTF8&psc=1. I've been able to pair and trust the device,...
0
votes
1answer
288 views

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

I recently bought the plugable Bluetooth USB adapter usb-bt4le and I want to use it with my RPi3. I have windows 10 core IoT installed on the RPi. I have disabled the on-board bluetooth and I wish to ...
3
votes
2answers
2k views

Bluetooth discoverable mode is automatically turned OFF

I want to set up the Bluetooth on boot so I can connect to it whenever I want with a device which is not trusted by the Raspberry Pi Bluetooth. I set up the Bluetooth on boot on my Raspberry Pi this ...
0
votes
2answers
163 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 ...
1
vote
1answer
204 views

Not able to pair Raspberry Pi3 and iBeacon using Bluetooth

In my current project, I am working with iBeacon in the area of IoT. Basically iBeacon works on Bluetooth wireless technology. I am using Raspberry Pi 3 (with in-built WiFi and Bluetooth). Pi 3 ...
1
vote
0answers
35 views

Raspberry Pi zero bluetoothctl connection fails to a device

I am currently trying to create a script to connect a Bluetooth printer to my raspberry device using CLI commands. So far I have tried using bluetoothctl but it freezes/crashes whenever I try to ...
0
votes
1answer
920 views

WHY my Python BLE device discover codes don't catch as many devices as Raspberry Pi OS panel does?

I developed some BLE device discovery python codes from the example given in https://github.com/pybluez/pybluez/blob/master/examples/ble/scan.py which are run on a Google AIY Raspberry pi. from ...
0
votes
2answers
2k views

play audio stream when bluetooth connects

I have a Raspberry Pi Zero W and want it to use as an Internet Radio. So I wrote a Python script that connects to my bluetooth speaker and starts a stream. Everything works fine, but i always need to ...
3
votes
2answers
1k views

Connect Xbox One Controller to Raspberry Pi

I know this has been solved (generally) for RetroPie, but I'm hoping to have a generic solution I can use for other purposes--like controlling robotics. And RetroPie dominates the conversation. Is ...
0
votes
0answers
17 views

Receiving audio using bluetooth and performing DSP operations

I wish to create a project on the raspberry in which I can intercept the audio data being received by raspberry pi bluetooth and perform DSP operations on that data (Like Short-time Fourier Transform ...
2
votes
2answers
3k views

Terminal setup of Bluetooth tethering

UPDATE: this tutorial has some vital info. Firstly, you will need a script called network-setup which is in /usr/share/doc/bluez-test-scripts/examples. Copy the test-network and the bluezutils.py ...
5
votes
1answer
1k views

Host Web Server on Raspberry PI via Bluetooth PAN

I don't often post on forums like this, but when I do, there's always someone in the comments telling me I violated some practice of forum posting and I never get a legitimate answer, so I figured I'd ...
0
votes
2answers
59 views

How would I send files to Raspberry Pi through bluetooth without touching the Pi?

I want to be able to send code files to my Raspberry Pi Zero W from my Mac or Android phone, without needing to go do anything on the Pi itself. I was able to pair and connect to my devices with ...
0
votes
1answer
40 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
12 views

Pi 4 not working with HHKB Hybrid type s keyboard

I can't find the keyboard device using the bluetooth manager and it does not work when I connect via usb. Any help please!!!
1
vote
1answer
31 views

headless blind remote unattended Bluetooth pairing

I need a Pi to pair promiscuously with anything with a Bluetooth antenna, because we need to use it headless, in the field, with no desktop, to pair to a Brand X tablet. Here's the existing literature ...
0
votes
1answer
46 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 ...
1
vote
1answer
807 views

Bluetoothctl connect TIMEOUT exception

This is the error I am getting when I connect to my mobile phone using the connect method in this documentation: https://gist.github.com/egorf/66d88056a9d703928f93, raise TIMEOUT(msg) pexpect....
1
vote
1answer
986 views

/tmp has been reported to be read-only filesystem

Environment: Up to dated rasbian. pi@raspberrypi:/etc $ cat os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION=&...
2
votes
1answer
38 views

Access Denied when scanning for BLE (Bluetooth Low Energy) devices

I'm running an up to date version of Buster on a Pi 3B+ (v1.3) and my Python program dies with txdbus.error.remoteerror: org.freedesktop.DBus.Error.AccessDenied: Rejected send message errors unless I ...
1
vote
0answers
26 views

How to play through bluetooth speakers with RPi renderer on lan and openhome/linn android phone control point

Using RPi3b and clean installation of RaspberryPi OS Lite and connecting to network using lan. Media is stored on NAS and served to lan by minimserver. I have installed upmpdcli and mpd on RPi and ...
0
votes
2answers
49 views

Send data to pc over bluetooth or wifi

I am working on a project where i have a motion sensor connected to a arduino connected to a raspberry pi and when the motion sensor detects movement i turn of my Windows pc. I want to connect the ...
2
votes
1answer
3k views

Playing audio via bluetooth speaker for Pi3 (Stretch)

This is the oft repeated question on playing audio via bluetooth on RPi. There are too many posts out there, but most of them are dated or do not apply to the stretch version of raspbian and hence ...
1
vote
1answer
79 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. ...
0
votes
0answers
56 views

Connect multiple bluetooth barcode scanners to Raspberry Pi 3

I am working on a project for my university. I want to connect several Bluetooth barcode scanners (OPN2006) to a Raspberry Pi 3+ by using the Bluetooth SPP. I managed to make the connection to one ...
2
votes
2answers
3k views

BLE + RPi 3 + Node.Js

I am currently developing an application where I connect from an Android/iOS app to the Raspberry Pi 3 via Bluetooth/BLE. Once paired, the RPi will send temperature measurements to the mobile app. I ...
1
vote
1answer
3k views

Using Pi 3 Bluetooth with external GPS

Im trying to connect a RPI3 (running jessie-lite) via Bluetooth to an android phones gps output. I'm using https://play.google.com/store/apps/details?id=com.meowsbox.btgps to stream NMEA strings from ...
0
votes
1answer
2k views

cheap temperature sensors with bluetooth

I have a PI and I need to develop an application to sense between 8 to 16 temperature sensors. BMP180 and a multiplexer have been a PITA and I havent been able to make it work. Is there any other way ...
0
votes
1answer
1k views

Is there an easy way to switch from hdmi to bluetooth audio seemlessly in raspberry pi?

I'm on raspbian stretch, I had an android tv box that broke down so I used a raspberry pi 3 I had around for uni to replace it. In the android tv box, if I connected a bluetooth headset, it would ...
1
vote
1answer
123 views

Bluetooth Audio not working with Chromium

I am having a problem using Chromium with bluetooth. I have a new Raspberry Pi 4 with Raspbian Buster. Using VLC, or aplay at command prompt, I can hear audio through bluetooth headset. However, I ...
4
votes
2answers
101 views

Where to get Bluetooth/Bluetooth.h for Raspberry Pi?

This is a stupid question. But I cannot find a solution to it. I am trying to build a BLE application with reference to this tutorial https://people.csail.mit.edu/albert/bluez-intro/c404.html. I am ...
0
votes
3answers
1k views

Python Script that handles Bluetooth doesn't work when loaded on startup

Background I am using my Raspberry Pi B+ to control a 32x32 LED matrix and I am trying to send commands from an Android app to my Pi over bluetooth to display text on the LED matrix. I am using ...
1
vote
1answer
1k views

Raspberry Pi bluetooth volume buttons

I have configured my pi to connect and receive bluetooth audio from my iPhone 5c using pulseaudio and bluez. How do I use my volume buttons from my iPhone to control the output of the audio from my pi?...
1
vote
0answers
21 views

Bluetooth retransmission

I'm doing a project of automation, and I would like to implement a bluetooth "retransmitter" for sound. I'm currently using Raspberry PI 4 (4gb ram) with ubuntu desktop client 20.10 This is ...
2
votes
1answer
813 views

Raspberry Pi 3 & Arduino: [bluetooth.btcommon.BluetoothError: (112, 'Host is down')]

I am trying to send informations from Raspberry Pi 3 to Arduino Uno with bluetooth. I managed to connect the Arduino's bluetooth module with the Raspberry Pi. But I have this error when I execute my ...
1
vote
2answers
2k views

Can Bluedroid be used in raspberry pi instead of BlueZ

I was going through the bluedroid architecture and how it works and all those stuffs here. I wanted to know whether we can use bluedroid stack instead of bluez in raspbian. If its possible how can it ...
1
vote
1answer
151 views

How do I get a list of only bluetooth audio devices?

I'm currently using pexpect in python to use bluetoothctl. I can get a list of all bluetooth devices, but is there a way to narrow down the list to only audio devices (bluetooth speakers, headphones). ...
2
votes
1answer
233 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) ...
1
vote
1answer
252 views

Read Incoming Bluetooth Audio On Pi With Python

this is my first post on here! I am trying to make my raspberry pi 3 a bluetooth speaker which synchronizes beat of the music being played from a phone to an LED light strip. For the LED light ...
1
vote
2answers
359 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. ...
1
vote
1answer
1k views

Problems Connecting to Bluetooth devices through python

I am trying to write a simple python script that connects any bluetooth audio device to the raspberry pi 4. I keep getting "bluetooth.btcommon.BluetoothError: (111, 'Connection refused')" Here is ...
0
votes
1answer
3k views

Scan Distance from Eddystone Beacons

I would like to read an Eddystone Beacon using my Raspberry Pi 3 to calculate distance from the beacon. I can't find any resources to do this from the official Eddystone documentation. How should I go ...
2
votes
1answer
263 views

Rpi Zero W - How to automatically accept bluetooth pairing and log mac and info request?

I am using Raspbian Stretch 9.4 on a Zero W. The goal is to deploy it headless for long periods of time where it will broadcast a specified bluetooth signal. When someone tries to connect to it, it ...
0
votes
1answer
797 views

Pi won't connect to HC-06 Bluetooth module

I’m really desperate for some help with an issue that’s been kicking my backside for days. To give some background - I have a Raspberry Pi 3B+. On it I have the latest RetroPie image (4.4). I’ve ...
1
vote
1answer
2k views

Raspberry Pi 3, bluetooth is not getting connected with HM-10 bluetooth module

I currently have a Raspberry Pi 3 with built-in bluetooth and some of my work specification require to connect it with HM-10 bluetooth module but I am unable to do so. I have tried various methods ...
0
votes
1answer
805 views

Problem with auto pair a Bluetooth device

https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/simple-agent I tried the Above Python script but getting a dialogue box 'Pairing Requested'. How to remove that dialogue box?
1
vote
1answer
123 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
1answer
240 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
40 views

Android tv box with raspberry pi project questions

Hello i would like to make a raspberry pi 4 android tv box with some requierments. This is what i need to know how to do: -Can connect to cable tv (antenna). -Can stream Netflix and HBO. -Expirience ...
0
votes
1answer
2k views

USB Bluetooth dongle loses its “PSCAN” state when connected via Bluetooth serial port

I have a CSR 4.0 Bluetooth dongle on my Raspberry Pi. When Raspbian starts, hciconfig shows that the state of hci0 is "UP RUNNING PSCAN". However, every time I connect to the Pi's Bluetooth serial ...

1
2 3 4 5
14