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

[buildroot]hciconfig can't open HCI socket error

I am using buildroot-2014.05 git.It has been cross-compiled to below toolchains. "ELF 32-bit LSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped " I am getting below error…
Abhijit Sahu
  • 315
  • 3
  • 9
0
votes
1 answer

"Connection timed out(100)" when trying to set up a bluetooth PAN

I'm trying to set up a Bluetooth PAN between two Linux systems. I've got it working between two Raspberry Pi 3s, both running BlueZ 5.23. However, when I try to connect a different Linux system running BlueZ 4.101, I get this error: pand[27746]:…
nmichaels
  • 49,466
  • 12
  • 107
  • 135
0
votes
0 answers

Bluetooth Low Energy - Linux with BlueZ

I'm working on a project where I need to establish connection between my computer and a Adafruit feather 32u4 with BLE incorporated. Due to comments on lots of webs, I decided to use linux to do the job. I got everything installed and I can connect…
0
votes
1 answer

Bluez programmatic removal of BLE bonding info for individual device

I am trying to connect gatt to a BLE server device that does not retain bonding information post-connection. On android it is fairly trivial to programmatically 'forget' about the servers bonding keys. On linux, the only thing I can figure out…
bung_julio
  • 31
  • 2
0
votes
0 answers

ios BLE characteristic read failed - operation failed with ATT error: 0xf2

I have connected an external device with iOS peripheral application which have a BLE service with 3 characteristic. In general it works fine, external device can send read request to specific characteristic and ios app send response properly. But…
taserghar
  • 340
  • 3
  • 15
0
votes
2 answers

Changing Beacons Minor and Major without specific application

Beacons like Radbeacon, Estimote, Accent and so on have their own application for changing different features of beacons(UUID, minor, major, Tx power), is it possible to change UUID or minor and major via something else dynamically? is it possible…
fafa92
  • 143
  • 1
  • 12
0
votes
1 answer

How to set BLE device address type to "random" for advertisement

I was trying to set the BLE peripheral device's (CSR 4.0) address type to random so that its advertisement packets include different MAC addresses. Any help regarding this would be appreciated!
user299012
  • 41
  • 2
  • 6
0
votes
1 answer

Unable to lowering the raspberry pi Bluetooth transmition power

I'm trying to turn my raspberry to an iBeacon but I cannot make it transmit with lower power, I've changed Tx power many times, when I use my BLE scanner I see that Tx power has changed but RSSI hasn't at all while with other beacon devices changing…
fafa92
  • 143
  • 1
  • 12
0
votes
1 answer

How do you read/write to the handle returned by hci_le_create_conn?

Using BlueZ-5.43, Nordic nRF52832 and Raspberry Pi Raspbian. I can create an l2cap socket and perform service discovery and attribute read and write operations on characteristics. However, this solution by-passes creating a connection via the HCI…
0
votes
1 answer

Why is LE device connected automatically on HCI up?

Whenever I hit hciconfig hci0 up noscan, followed by hcitool con after a few seconds, my LE device is always connected automatically. > hciconfig hci0 hci0: Type: BR/EDR Bus: USB BD Address: YY:YY:YY:YY:YY:YY ACL MTU: 310:10 SCO MTU: 64:8 …
SpringMaple
  • 311
  • 3
  • 11
0
votes
1 answer

Is it possible to have two way bluetooth communication from raspPi to iOS device like in Android?

I'm currently trying to make an app that allows my phone to send commands to a raspberry pi and then the pi sends back data. This two way communication needs to be through bluetooth. All string data is fine. On Android this has been very simple…
Daniel Braun
  • 471
  • 1
  • 3
  • 12
0
votes
1 answer

Event for Bluez gatt server disconnect from client

Is there any method to check that connection lost with connected device in python bluez library ?
Navneet Garg
  • 1,364
  • 12
  • 29
0
votes
1 answer

Automatically bind ePuck via bluetooth with bash or something else

I am trying to automatically bind/pair (not connect) an ePuck robot with Linux using a bash script. I researched a lot about bluetoothctl but found nothing really useful. The problem is that the ePuck uses a fixed pin, so I have to manually type the…
farhad94
  • 1
  • 2
0
votes
1 answer

BlueZ 5.43: D-BUS gattlib ble_scan

I am developping a BLE application and I need to implement a function for discovering advertising BLE devices. I inspired my code from the gattlib project, but i can't understand the following functions starting with "org_bluez_" such as…
0
votes
0 answers

Data notification from gatttool stop

I have a BLE device which has a "audio service". I want get audio data. I use gatttool to communicate with my device. To do this, I can enable notification. Then, when microphone is 'on', I receive data but it's stop suddenly. $ sudo gatttool -b…
helene
  • 1,201
  • 2
  • 18
  • 30