Commit Graph

8 Commits

Author SHA1 Message Date
Vinicius Costa Gomes
a0b6c596e9 Add support for re-using the attrib channel
In some cases, when the device is already connected there's no need
to create another GAttrib instance.

This will allow the Attrib client to use the connection already
estabilished, this will be very useful when we support more
LE profiles.
2011-03-30 19:15:54 +03:00
Vinicius Costa Gomes
fc19dbe0d0 Remove _init and _exit methods from Attrib client
Now that Attrib client is being moved to the core, there's no
need to have explicit _init and _exit methods.

This also means that we need to pass the DBusConnection explicitly
to the registration method.
2011-03-30 19:15:52 +03:00
Vinicius Costa Gomes
279a538273 Register Attrib interface when loading device from storage
Now that the GATT client functionality is being moved to the
core we need to register the interface when the device is created.
2011-03-30 19:15:46 +03:00
Vinicius Costa Gomes
b3d33e592d Add "Services" property in the org.bluez.Device interface
Add a new property "Services" representing the object paths of the
available GATT primary services. "Services" is an array of D-Bus object
paths.
2010-09-30 17:26:55 -03:00
Vinicius Costa Gomes
8307634aa6 Update copyright information of GATT library/tools 2010-08-09 18:06:49 -04:00
Claudio Takahasi
97cd604657 Add BR/EDR connection establishment for GATT
Parses the psm for GATT and triggers the L2CAP connection for GATT.
2010-08-09 18:06:44 -04:00
Claudio Takahasi
5f722b2780 Register fake characteristic object
Testing purpose only. This patch registers paths and interfaces for
fake BLE service.
2010-08-09 18:06:44 -04:00
Claudio Takahasi
44a3a09fff Add stubs for the attribute client
Contains device driver declaration for attribute protocol. Registers
D-Bus path/interface to represent the remote device client: BR/EDR or
LE. For the most common LE scenarios, devices running BlueZ will be
client role.
2010-08-09 18:06:43 -04:00