Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [bluez]

BlueZ is the Bluetooth stack implemented in most Linux kernels.

bluez
-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 ...
ayezang's user avatar
  • 29
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, ...
abdul's user avatar
  • 3
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 ...
OmkarK's user avatar
  • 189
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 ...
ayezang's user avatar
  • 29
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 ...
ayezang's user avatar
  • 29
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 ...
mega's user avatar
  • 21
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 ...
Eduardo's user avatar
  • 173
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 ...
Eduardo's user avatar
  • 173
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 ...
jay_aechh's user avatar
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 ...
なめこ's user avatar
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, ...
Laci Stiller's user avatar
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 ...
Lalavender's user avatar
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 ...
quantumKoala's user avatar
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 ...
KarlBerger's user avatar
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 ...
Michal Turlik's user avatar

15 30 50 per page
1
2 3 4 5
67