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
3 answers

Connecting a bluetooth LE device using bluez 4.01

I'm trying to connect a bluetooth low energy Oximeter with my Ubuntu desktop but I'm running into some problems. I can see the device just fine by using hcitool lescan but I cannot connect when I type sudo gatttool -b 00:1C:05:FF:ED:A9 -I [ …
user1378063
  • 263
  • 1
  • 6
  • 9
0
votes
1 answer

Linux, BlueZ, Initiating an hid BlueTooth Connection

Use-case Ubuntu machine is simulating a Keyboard Ubuntu machine ( the virtual keyboard ) imitates a connection to the remote device to be controlled Question In normal scenario, the HID Desc is reported through SDP, and thus, when the device…
NadavRub
  • 2,520
  • 27
  • 63
0
votes
1 answer

Ubunu, BlueZ, Enumerating paired devices

Using the BlueZ BlueTooth stack, How do I programatiacally enumerate devices that are already paired and not necessarily connected?
NadavRub
  • 2,520
  • 27
  • 63
0
votes
1 answer

Pairing with CSR BLE 4.0 dongle

I have a CSR4.0 BLE dongle I am using in Raspberry Pi. I am using Bluez stack in the Pi and can make the dongle up & running. Now, when I use some iOS app (LightBlue) to find out nearby BLE devices, most of the time it can't find the CSR device. A…
nad
  • 2,640
  • 11
  • 55
  • 96
0
votes
0 answers

Linux program act as a bluetooth slave device with a bluetooth adapter?

I'm a new comer with bluetooth program, I want write some code to act as a bluetooth slave device and communicate with my iphone, I do not have a bluetooth development, I just have a bluetooth adapter plug into my lubuntu host pc, so is it possible…
liunx
  • 751
  • 4
  • 13
  • 32
0
votes
1 answer

In Bluez A2DP: how can I modify the default audio sample rate

I am using Bluez4 to sink Audio from an iphone 5 to a Raspberry pi audio output. The default settings for BLuez 4 A2DP appear to be S16_LE, 44,1kHz Stereo. Similar to other posts about Bluez, I can't catch Select_Configuration DBus messages in…
0
votes
1 answer

cmake give undefined reference

Hi I'm trying to use bluez source code to control some stuff in my code. In my cmake I first start doing instruction like include_directories(${CMAKE_SOURCE_DIR}/../bluez/attrib/) then aux_source_directory(${CMAKE_SOURCE_DIR}/../bluez/attrib/…
user1796260
  • 297
  • 1
  • 4
  • 20
0
votes
3 answers

Bluetooth LE connection only lasts 10 seconds

I was wondering if anyone else has had trouble with a ble connection only lasting 10 seconds. I am attempting to connect a mac (running ubuntu) as a central and an iPhone app running as a peripheral. I have verified that the app is connectable with…
user3712524
  • 101
  • 3
  • 11
0
votes
0 answers

bluez 4.101 Device Information Service

I'm using the bluez-4.101 stack with kernel 3.0.35 Now I'm able to connect to the peripheral through gatttool, though the connection is not always stable. When I list the primary services, there is no uuid for the DIS in the output list. That lists…
user2423804
  • 145
  • 11
0
votes
1 answer

Bluez commands in Bluedroid

I have an Android 2.2 device which allows me to run Bluez commands such as hcitool scan & hciconfig However since Android 4.2.2 comes with Bluedroid, how can I run such commands? I am looking for an alternative or a similar set of commands…
Yrol
  • 159
  • 4
  • 17
0
votes
1 answer

Bluez profile and device connect callback

I am developing custom profile with GATT service server (acting as peripheral). I define profile via structure btd_profile, and there are function pointers to adapter_probe, device_probe, connect ... When bluez deamon started adapter_probe is called…
Yanny
  • 178
  • 12
0
votes
0 answers

python delay init object bug

I am confused. I coded this code if __name__ == '__main__': channel=None devices = finddevices() print 'devices %s'%devices for d in devices: print d[0] ser=findservices(addr=d[0],name=None,servicetype=OBEX) …
abbas-h
  • 392
  • 1
  • 4
  • 18
0
votes
1 answer

Is the BlueZ bluetooth library for C one of the white-listed API's for Google's Native-Client SDK?

I'd like to use both Google's Native-client API and BlueZ for a senior design project but, I can't figure out if BlueZ is compatible the Native Client SDK. Does the full set of white-listed APIs include this library?
kjh
  • 3,407
  • 8
  • 42
  • 79
0
votes
0 answers

Bluez on Raspberry Pi: No such device

I am actually trying to install and run Bluez on my raspberry pi. I am using Cambridge silicon Radio Bluetooth device. Everything is set but when I check my device using "hcitool dev", it is not showing my device. When search it is showing "No such…
Nikhildas C L
  • 91
  • 3
  • 12
0
votes
1 answer

Unexpected reply signature: got "oa{sv}", expected "(oa{sv})"

Using C++/QtDBus. I'm trying to get a reply from DBus call to function described as: object, dict PullAll(string targetfile, dict filters). I registered (qDBusRegisterMetaType) a type defined as: typedef QPair< QDBusObjectPath, QVariantMap >…
user1426139