Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find some documentation for BlueZ?

I am developing an android application for an embedded device that uses android 2.1. The bluetooth protocol stack is bluez. I cannot find any documentation related to bluez, and the source code is quite hard to read as it is not commented at all! There seems to have been a bluez wiki, but that site has been down for some time now...

Any help regarding where I might be able to find any help/documentation regarding how the bluez stack functions will be appreciated.

Thanks!

like image 213
Aniruddha Avatar asked Jun 29 '11 04:06

Aniruddha


People also ask

Is BlueZ open source?

BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source project distributed under GNU General Public License (GPL). Dependencies: default-dbus-system-bus | dbus-system-bus.

What is BlueZ in Bluetooth?

BlueZ is the Bluetooth stack for Linux. It handles both Bluetooth BR/EDR as well as BLE. To communicate with BlueZ, we'll be using something called D-Bus.

What is BlueZ utils?

A set of tools to manage bluetooth devices for linux.


2 Answers

Actually not all Android devices use BlueZ stack as the underline bluetooth stack. It would be a good idea to stick with Android SDK bluetooth API if you want portability.

This being said, http://people.csail.mit.edu/albert/bluez-intro/ is a nice bluez tutorial.

like image 88
vasilakisfil Avatar answered Oct 13 '22 15:10

vasilakisfil


Aniruddha, you may want to try using DBus Interface to invoke BlueZ APIs.

like image 38
Sammoh Avatar answered Oct 13 '22 14:10

Sammoh