This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:bluez_4 [2017/10/23 10:43] 1.241.172.144 [bluez-tools] |
wiki:bluez_4 [2017/10/23 10:49] (current) 1.241.172.144 [BlueZ 4 D-Bus API] |
||
---|---|---|---|
Line 274: | Line 274: | ||
=====D-Bus Message Bus System===== | =====D-Bus Message Bus System===== | ||
- | The BlueZ stack uses the D-Bus message bus system which is a simple way for applications to talk to one another. | + | The BlueZ stack uses the [[https://www.freedesktop.org/wiki/Software/dbus/|D-Bus message bus system]] which is a simple way for applications to talk to one another. |
====BlueZ 4 D-Bus API==== | ====BlueZ 4 D-Bus API==== | ||
- | The BlueZ 4 D-Bus API is defined in doc/network-api.txt. Some example usage using dbus-send: | + | The BlueZ 4 D-Bus API is defined in [[https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/network-api.txt?id=4.101|doc/network-api.txt]]. Some example usage using **dbus-send**: |
* First you need to get the path to the bluetooth controller you wish to use. We will assign it to a shell env variable and export it for future use: | * First you need to get the path to the bluetooth controller you wish to use. We will assign it to a shell env variable and export it for future use: | ||
Line 315: | Line 315: | ||
00:15:83:3d:0a:57 | 00:15:83:3d:0a:57 | ||
evtest /dev/input/event1 | evtest /dev/input/event1 | ||
+ | |||
+ | =====Bluetooth Profiles===== | ||
+ | |||
+ | In order to use Bluetooth a device must be compatible with a subset of Bluetooth profiles for specific services. These profiles sit on top of the Bluetooth Core specification and protocols. | ||
+ | |||
+ | The way a device uses Bluetooth technology depends on its profile capabilities. The profiles provide standards which manufacturers follow to allow devices to be compatible. | ||
+ | |||
+ | A full list of profiles can be found [[https://en.wikipedia.org/wiki/List_of_Bluetooth_profiles|here]] however here are some common ones are described in detail in the sections below | ||
+ | |||
[[PAN]] | [[PAN]] |