Questions tagged [bluez]
BlueZ is the Bluetooth stack implemented in most Linux kernels.
bluez
1,001
questions
-1
votes
0
answers
21
views
BlueZ the same version of btmgmt, but it does not support the same settings [closed]
Kernel: Linux 4.9.84 armv7l on board and Linux 3.14.43 armv7l on board
Bluez Version: 5.66
Application:
I want to cross-compile the BlueZ source code to get btmgmt, but when I cross-compile the same ...
0
votes
1
answer
34
views
GATTTool fails to read characteristics/attribute for Heart Beat data
I'm trying to read the heart rate data from my Xiaomi Mi Band 8 using BlueZ's gatttool. The heart rate data is found in the characteristic with UUID 0x2a37, which has the property NOTIFY.
However, ...
0
votes
0
answers
59
views
How to write to a local attribute using bluetoothctl?
I am trying to connect to an iPad app from a linux based system (PetaLinux to be presice) using bluetooth LE. The data exchange is raw binary data so vendor specific characteristic UUID is used. The ...
0
votes
1
answer
17
views
Bluez Can i manually control initiator key distribution of peripheral?
Kernel: Linux 4.9.84 armv7l on board
Bluez: 5.65
Peer: Android 12 & IOS 16.6
Role: Central is my phone, Peripheral is my board
Application:
use btmgmt create a bondable agent and io-cap set to ...
2
votes
1
answer
92
views
Bluetooth Pairing via BlueZ in Just Work Mode Fails - Confirm Value Failed
Kernel: Linux 4.9.84 armv7l on board
Bluez: 5.65
Peer: Android 12 & IOS 16.6
Application:
Use btmgmt open bluetooth settings
btmgmt power off
btmgmt connectable on
btmgmt pairable on
btmgmt ...
1
vote
1
answer
42
views
BlueZ PushMessage Problems
I am trying to use the PushMessage function of BlueZ to transfer a text message to the outbox of an iPhone for sending.
The pushmessage function returns the file transfer path correctly, which ...
1
vote
1
answer
133
views
Connect a raspberry pi to a bluetooth thermal printer with Bluez API
I am trying to connect a thermal printer to a raspberry pi 4 running Raspbian GNU/Linux 12 (bookworm) using the Bluez API.
So far I managed to pair with the printer, but now I am struggling to connect ...
0
votes
1
answer
43
views
How to display the bluetooth devices near a raspberry pi for a limited amount of time?
I would like that the following script runs for a certain time (let's say 10 sec) e lists the available bluetooth devices near a RaspBerry Pi 4.
When I run the following script (adapted from this ...
0
votes
0
answers
128
views
Enabling A2DP source and disabling A2DP sink in Ubuntu 22.04
Please help, I am pretty new to Bluetooth in Ubuntu.
I am using BlueZ 5.64 running on Ubuntu 22.04.
Does anyone know if it is possible for me to enable only A2DP source, since my device should be able ...
1
vote
1
answer
33
views
Bluetooth - How to remove pairing information on Python3
I want to remove pairing information on Python3.
I know how to remove it on bluetoothctl.
The command is bluetoothctl remove xx:xx:xx:xx:xx:xx.
But, I want to use only Python3.
My device is Raspberry ...
0
votes
0
answers
78
views
Exchange MTU not supported when connecting to a BLE device from Raspberry
I have a Raspberry Pi 5 device, with Raspbian (Debian Bookworm). I bought a Chinese led strip, with a Bluetooth controller on it, and I would like to connect to it from the Pi. I'm using bluez 5.66, ...
1
vote
1
answer
232
views
Example BLE GATT Server using C++
I'm trying to create BLE GATT services on my Raspberry Pi 4 using C++. Have searched for a while but wasn't able to find useful hints/examples.
More details:
I'm able to create GATT services and ...
0
votes
0
answers
105
views
Bluez - BLE trouble connecting to BT dual mode devices
I have two devices running Bluez in linux. I'm writing a C application using GDBus and bluez v5.54. The application is a sample app meant to demonstrate how to write code for bluetooth low energy.
I ...
0
votes
0
answers
27
views
Simultaneous send and receive (repeater) Bluetooth audio is stutter-y
I'm trying to use a Raspberry Pi as a sort of receiver to manage the several Bluetooth speakers I've accumulated so that I can just connect a (also Bluetooth) audio source like my phone to the Pi and ...
0
votes
0
answers
43
views
how to pair and connect with BlueZ C API
I am trying to use the BlueZ C API to perform pairing and connection with a bt classic device.
The requirement is to use the C API (hci_lib) to perform all the needed actions just like the two ...