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)
843 questions
0
votes
2 answers

Compile BlueZ for iOS7?

I am currently trying to create a PAN on a jailbroken iOS device (iPad, in this case). On my Raspberry Pi I can achieve this using the bluez bluetooth stack and the pan daemon that comes with it. I thought if it could be possible to port bluez to…
BlackWolf
  • 3,919
  • 3
  • 26
  • 44
0
votes
1 answer

Bluetooth Connection (Android Sockets)

A little bit about my current setup: Currently I have a Android program split into a bunch of different fragments. The home fragment scans for a Bluetooth connection with a specific MAC Address, and socket UUID. This connection works fine (no…
Peter Blum
  • 131
  • 11
0
votes
3 answers

android a2dp sink bluez

I'm working on bluetooth tasks. As far as I know, bluedroid doesn't support a2dp sink function. But bluez supports sink function. So I replaced bluedroid with bluez in Android 4.4, and I saw it worked as a source. (SEE aosp-bluez) But I don't know…
0
votes
1 answer

SPP on Bluedroid

I wanted to see if anyone has attempted to implement SPP on Bluedroid. After looking at the stack source you can see clearly that the SPP_INCLUDED flag is false and there is no source for SPP in the directory that contains it. I have a device that…
Lloyd
  • 31
  • 2
  • 4
0
votes
0 answers

Android BLE pairing fails when connecting to a BLE dongle

I am facing a problem when I try to pair an Android 4.4.2 Smartphone to a BLE dongle which is connected to an ArchLinux OS (running on VirtualBox). What I have done so far: Programming an Android application (GATT server, central role)…
gokumc
  • 108
  • 1
  • 8
0
votes
1 answer

undefined reference to `atexit - bluez compilation

I am encountering this issue, when i try to cross-compile bluez-4.101, to mipsel-linux target. plugins/bluetoothd-hciops.o: In function `init_device': hciops.c:(.text+0xadc0): undefined reference to `atexit' hciops.c:(.text+0xadc8): undefined…
0
votes
1 answer

How to get device name with D-Bus?

I develop an application in C++ on Linux, which interacts with blueooth devices (such as bluetooth sockets or speakers). I use D-Bus command to get list of paired devices: dbus-send --system --dest=org.bluez --print-reply $BTADAPTER…
ashmanov
  • 41
  • 6
0
votes
0 answers

c program for bluetooth connecting on linux

I want to write c program,on Linux, that will scan for nearby devices via Bluetooth, than user selects one device and program connects with chosen device. So I started from: this. I have installed bluez-utils, libbluetooth-dev and bluez-hcidump.`…
JS Igre
  • 1
  • 2
0
votes
1 answer

Bluetooth architecture on Webos

What are the IPC mechanisms used in webos for bluez connection, also to develop any bluetooth profile in webos, are the proper methods exposed or bluetooth , can someone explain me on the luna bus interaction with bluez ?
ashish
  • 1,288
  • 11
  • 20
0
votes
2 answers

Connection bluez with Nonin 9560 via HDP

I am trying to work with Nonin Onyx II Model 9560 from my computer (Ubuntu 12.04.1 LTS. & bluez 4.98-2ubuntu7) via HDP. When I run my application on computer, I see that the oximeter find my application, create a channel with it and starts the…
AndreyN
  • 1
  • 1
0
votes
0 answers

android device, bluetooth "SetProperty" with signature "sv" on interface "org.bluez.Device" doesn't exist

I have met a problem, In the bluetooth Setting of android 2.3.6, I can't unpaired the bind device. And what I can get from the log: E/BluetoothDeviceProfileState(14111): Processing command:100 D/CachedBluetoothDevice(15274): Command sent…
0
votes
0 answers

Install Bluetooth SPP on Android tablet

I am unable to discover my Bluetooth printer from my Android JellyBean tablet. But both the devices are discoverable from my macbook. The bluetooth printer spec says that it uses SPP (Serial Port Profile) to communicate. sdptool output is…
0
votes
2 answers

Define multiple bluetooth dongles in python-bluez (scan from specific device)

I'm building a bluetooth application in Python, using python-bluez (under linux) But my computer has 2 bluetooth adapters (one built in, one usb dongle) How can I choose which one to scan from, because now it randomly picks one. The code right now…
skerit
  • 17,691
  • 22
  • 92
  • 138
-1
votes
0 answers

Build BlueZ 5.50 on Ubuntu 18.04

We are using BlueZ 5.48 in embedded Ubuntu 18.04. We're trying to build BlueZ 5.50 for embedded Ubuntu 18.04 because we need the "Service Changed Indication" feature which was fixed in 5.50. The host system to build BlueZ is Ubuntu 18.04. I…
user1556331
  • 197
  • 7
-1
votes
1 answer

Python BlueZ Mesh

I have a Raspberry Pi 4 with the latest BlueZ (5.54) stack. My goal is to make a Python script which collects different sensor data (Air Quality and Temperature) via Bluetooth Mesh. I was googling many articles and forums but could not decide which…
Andrew S.
  • 11
  • 3
1 2 3
56
57