Questions tagged [bluez]

BlueZ is the Bluetooth stack implemented in most Linux kernels.

Its goal is to make an implementation of the Bluetooth wireless standards specifications for Linux.
As of 2006, the BlueZ stack supports all core Bluetooth protocols and layers.
It was initially developed by Qualcomm and is available for Linux kernel versions 2.4.6 and up.

For user space applications, BlueZ essentially provides two ways to implement the stack in the application: Through DBus or through the so-called MGMT API. These methods are high- and low level respectively.

In addition to the basic stack, the bluez-utils and bluez-firmware packages contain low-level utilities such as dfutool, which can interrogate the Bluetooth adapter chipset to determine whether its firmware can be upgraded.

Further information about BlueZ:

Aditionally there are two IRC channels available on freenode.net where you can find developers and other users of BlueZ:

#bluez (development related topics)
#bluez-users (non-development related topics)
979 questions
0
votes
2 answers

Connecting to Bluetooth LE devices from raspberry pi using Bluez libraries in C language

I am using my raspberry pi to perform LEScan at fixed intervals and connect to new found BLE devices. Performing a general scan is easy and can be easily done by using the bluez libraries. http://people.csail.mit.edu/albert/bluez-intro/x45.html But…
user2516582
  • 1
  • 1
  • 1
0
votes
0 answers

org.bluez.LEAdvertisingManager1 interface disappeared in bluez 5.31

I've been working with bluez 5.30 for a few weeks getting a peripheral working using the DBus APIs. I ran into a bug registering descriptors which I tracked down to an issue in gatt-database.c. When I went to report the bug, I noticed 5.31 had…
danielweberdlc
  • 452
  • 1
  • 8
  • 16
0
votes
0 answers

Bluetooth Low Energy: listening for notifications/indications on Raspberry Pi B+

How is it possible to authenticate using Bluez 5.31 and GattTool? I want to listen on a notification. I've connected using gatttool -b -I and I can run the primary command etc. I sniffed the device and I know that handle 0x0024 is where I…
1iveowl
  • 1,622
  • 1
  • 18
  • 31
0
votes
0 answers

Bluez-Can we connect to HSP/HFP service using 2 Bluetooth headset's with signficantly less time to switch audio

I am working on Bluez-5.30 stack to pair and connect with multiple BT audio devices (HFP and HSP devices). Can we connect have switching between 2 2 bluetooth headsets simultaneously. The requirement is to play the audio on both HFP and HSP devices…
0
votes
2 answers

BlueZ map-client and iOS 8.x device

I am attempting to use the supplied map-client in BlueZ 5.30 to read the SMS inbox from an iPhone running iOS 8.3 When I run the map-client with the phone's address I can use calls such as -l to see the directory listings and through repeated -c…
andybee
  • 1,142
  • 3
  • 15
  • 26
0
votes
1 answer

How to display the interfaces of a particular dbus bus name (/org/bluez) in python?

I would like to find out what are the available objects and interfaces in the bluez dbus bus. I wrote a simple python script to list all the bus names in the dbus session. import dbus for service in dbus.SystemBus().list_names(): …
guagay_wk
  • 26,337
  • 54
  • 186
  • 295
0
votes
0 answers

Decode Array (unit8_t array to char array)

I have a text representation of a encrypted buffer (via gcrypt) as follows: (enc-val (ecdh (s #04FA304FE9E91BED21E3C5898796056CE4E590E12BC74D0219A185D2E0B9B49A7393F023415F3E1FFD22D5B0A134E03F84D5C5DF7C5326C51971CFB783A26F1636#) (e…
Ed Johns
  • 211
  • 3
  • 11
0
votes
1 answer

BlueZ GATT programming in C

I am trying to read data from TI SensorTag from a bluetooth enabled linux PC using C programming. But I didn't get any programming API of bluez so that I can discover BLE profile and GATT profile to get sensor reading. There is no documentation I…
ninja.stop
  • 410
  • 1
  • 10
  • 24
0
votes
1 answer

HDP android implementation

I`m trying to link my Android phone(xperia sp) with installed HDP app(sink) to laptop with Ubuntu 14 and Antidote(sample_bt_agent). HDP application:…
Ivan
  • 876
  • 1
  • 8
  • 22
0
votes
0 answers

Bluez libraries cause a lot of problems

I'm trying to compile a C++ project on raspberry pi B+ in codeblocks. Code is taken from here #include #include #include #include #include #include #include…
r_spb
  • 75
  • 1
  • 14
0
votes
0 answers

RFCOMM multiple connections for channel

I am implementing Bluetooth server, which supports multiple clients. I am using RFCOMM protocol. Is it possible to connect many clients for the same RFCOMM channel? Server code for(C++): int client; std::list pool; boost::thread…
exbluesbreaker
  • 2,160
  • 3
  • 18
  • 30
0
votes
1 answer

what is the gdbus API which i can call from c application to send command and receive data from pulse oximeter which uses Bluetooth HDP profile

I am I am trying to communicate with the Pulse oximeter which uses Bluetooth HDP profile. I am writing a C application which uses gdbus API to communicate with BLUEZ stack. Can any one tell me which gdbus API can i use to send command and receive…
Jyothi
  • 21
  • 4
0
votes
2 answers

Gather constant output from process (Python)

I have a program that generates constant output (hcitool lescan): CC:41:00:4D:AA:AA Name1 CC:41:00:4D:AA:BB Name2 CC:41:00:4D:AA:CC Name3 I would like to parse this output in Python constantly, but after few seconds I want to kill the process. As…
Melon
  • 604
  • 1
  • 7
  • 30
0
votes
1 answer

Raspberry PI iBeacon

I am a new contributor to this site so please cut me some slack if this question sounds too simple. I have been using to Pi devices as iBeacon readers for a few weeks and i was able to find my LE beacons with no problem using hcitool lescan and…
0
votes
0 answers

Write BLE Attribute Value to iPhone (Bluez)

I used the following article https://dobots.nl/2014/07/23/linux-and-le to validate the ability to connect, read and write an attribute value from Bluez to an iPhone. I'm running the latest Bluez stack (5.25) and the LightBlue app to simulate the BLE…
Ed Johns
  • 211
  • 3
  • 11