Questions tagged [bluez]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
38 views

Unable to locate package python3-bluez

I'm stuck at the installation process for openhabian , I realized I couldn't get package python3-bluez to install. script ran : needed_packages() { # Install apt-transport-https - update ...
0
votes
0answers
15 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
0answers
23 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
0answers
39 views

How to restart/release rfcomm for bluetooth communication?

I am trying to connect raspberry pi to my galaxy note to use it for serial communication. I have somewhat succeeded at that. First I paired it and trusted through bluetoothctl. Then I run sudo rfcomm ...
0
votes
0answers
12 views

How to set up bluetooth broadcasting on a pi 3 b v1.2

um new to working with bluetooth on linux or on a raspberry pi but i have managed to set up the controllers. What i want to accomplish now is using python to connect or broadcast my raspberry pi as a ...
0
votes
0answers
23 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
58 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. $ ...
1
vote
0answers
20 views

RPi3 Bluetooth Tethering Setup

I'm trying to setup automatic Bluetooth Tethering without a GUI, and I can't find anything that works online. A lot of forums just end at the mention of "Blueman." The only way I could even find to ...
0
votes
0answers
208 views

Bluetooth hci0 device suddenly missing on 4B+

After a recent reboot of my 4B+ I noticed that my bluetooth connections had stopped working. I noticed that bluetoothctl reported no device, and further that sudo hciconfig hci0 up indicates Can't get ...
1
vote
0answers
26 views

What is this prompt saying about bluetooth?

I tried to fix some problems with the bluetooth and uninstall pi-bluetooth. Also installed it .But the problems are bigger now. What is this prompt saying.
0
votes
0answers
76 views

connecting raspberry pi to android tablet over bluetooth

I am familiar with this and this. I am trying to send a message from raspberry pi terminal to an android app. I am on Raspbian Stretch headless (NO gui) Now, I am doing : sudo bluetoothctl power ...
1
vote
1answer
495 views

Can Raspberry Pi use ANT+ as well as Bluetooth?

Since ANT+ and Bluetooth/BLE all use 2.4 GHz radio-waves, and most Raspberry Pi models can use Bluetooth, is it possible to communicate through the ANT+ protocol from a Raspberry Pi without adding any ...
0
votes
0answers
42 views

MFRC522 and Bluetooth not work together

I have a program in which I use pyqt5, MFRC522 and bluetooth. I have 3 threads, one for the interface, one for the MFRC522 and one for the bluetooth. If I run the MFRC522 and the bluetooth separately ...
0
votes
1answer
56 views

obexd - Receive files error

I am facing the below error while trying to receive files via bluetooth. The pairing is successful and sending files from the board to the phone is also successful. But receiving files from phone to ...
0
votes
0answers
137 views

Sox error: ALSA lib bluealsa-pcm.c:200:(io_thread) PCM FIFO write error: Broken pipe

I'm trying to use my Raspberry Pi as a white noise generator using SOX and my bluetooth speaker (BOSE mini soundlink II). Everything works great at first, however after a certain period of time (as ...
2
votes
2answers
470 views

Raspberry Pi 3B+ BLE peripheral : Android can't retrieve services list, OK with iPhone and Win10

I try to make a Raspberry Pi 3B+ act as a BLE peripheral. I downloaded latest version (5.50) of bluez stack here : https://git.kernel.org/pub/scm/bluetooth/bluez.git. I execute provided examples in /...
1
vote
1answer
484 views

bluez - failure to pair bluetooth remote

I'm trying to pair my PS3 remote with my RPi 3, through bluetoothctl. The steps I'm attempting: place the remote in pair mode run bluetoothctl [bluetooth]# devices Device 00:19:C1:5A:24:7B BD Remote ...
0
votes
0answers
63 views

Bluez Android/iOS control

Hey guys I created bluetooth speaker from my Pi Zero W. Everything works as I want. I implemented my own absolute volume control using d-bus which work as needed. Connection from Iphone work perfectly ...
1
vote
0answers
400 views

Develop a communicattion between a Raspberry with BLE server and a Raspberry with BLE client

I have been developing an small project which requieres a communication between two Raspberries, the first one acts as a Beacon and the second one tries to connect to that beacon and obtain the RSSI ...
-1
votes
1answer
2k views

Rpi Bluetooth Android Device Connection Pairing Problem

I'm trying to connect my rpi0 w to any android device via Bluetooth LE(low energy) , i can pair but i can't connect them ,an error always showed (Connection failed,No usable services on this device ) ...
2
votes
0answers
163 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 ...
1
vote
0answers
271 views

BLE Connect fails with page timeout

I've got a custom BLE 4.1 device and I'm trying to connect it to Raspberry PI 3 B+ using hcitool, gatttool, bluetoothctl, ..., without success. The device is an NRF BLE chip with the Nordic UART ...
4
votes
1answer
273 views

Bluetooth Blues

I've discovered again that cursing and swearing at inanimate objects doesn't actually improve things, so I'll try posting a question. A couple of months ago I attempted a fairly ambitious project (...
0
votes
0answers
454 views

hcitool does not find devices despite GUI showing multiple

I'm trying to better understand C (and bluetooth) using a Raspberry Pi 3 b+ as the testing grounds. I started by writing a C program that uses BlueZ to scan for bluetooth devices (script pretty common ...
1
vote
1answer
338 views

Connecting a new Bluetooth device without monitor?

We are trying to connect a Bluetooth device without a passkey and trusting default yes in Python. I am running a headless Raspberry PI 3, and I want it to automatically accept pairings from any ...
0
votes
0answers
856 views

Pi zero as bluetooth keyboard?

I am attempting to use a Pi as a bluetooth keyboard. There are several guides I have found for this, such as this on from impythonist. However, they seem to be outdated, and so far as I can tell ...
0
votes
0answers
34 views

RPi 3B+ won't discover PC on bluetooth

I am trying to connect my Windows 10 PC and RPi via Bluetooth, but my RPi doesn't show my PC as an available device. My PC also does not show my RPi as available. It is weird because my phone can ...
0
votes
1answer
263 views

Pulseaudio module-combine-sink always throws Failure

I am new to pulseaudio. As per my requirement, I need my audio output to be routed to either connected speaker, bluetooth speaker, or both. I am able to play the media file on speaker, or bluetooth ...
3
votes
1answer
9k views

How to stream sound to a bluetooth device from a raspberry pi zero

I have a raspberry pi zero W and I would like to stream sound over bluetooth to a bluetooth-enabled speaker / headphone. So how to achieve this with alsa?