public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/18] Making GATT a first class citizen
@ 2010-12-21 21:26 Vinicius Costa Gomes
  2010-12-21 21:26 ` [PATCH 01/18] Fix attrib plugin deregistration Vinicius Costa Gomes
                   ` (18 more replies)
  0 siblings, 19 replies; 36+ messages in thread
From: Vinicius Costa Gomes @ 2010-12-21 21:26 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Vinicius Costa Gomes

Hi,

These are the first steps in the direction of making GATT a first
class citizen in Bluez.

For this, the first step is to move the primary service discovery
procedure to the core bluetoothd. For that we needed to move a lot of
code around, and add a few features, for example, we now are able to
store the remote device type and restore it from storage, it is useful
when deciding which medium should be used for service discovery.

While doing this, I noticed something that could cause some confusion:
in the Attribute API, both the Device Service hierarchy
([prefix]/{hci0}/{device0}/{service0}) and the Device Characteristic
([prefix]/{hci0}/{device0}/{service0}/{characteristic0}) have the same
Interface name (org.bluez.Characteristic). Is that on purpose?


Cheers,
--

Sheldon Demario (1):
  Move primary service storage to device.c

Vinicius Costa Gomes (17):
  Fix attrib plugin deregistration
  Fix memory leaks in the attrib-server
  Add a way to store the remote device type
  Add support for storing the device type
  Add support for creating devices from stored types
  Add support for creating devices from stored primary services
  Add a way to retrieve ATT primary services
  Remove GATT information when the device is removed
  Add the btd_ prefix to device_add_service
  Remove duplicated code for discovering GATT services
  Clean up the primary service DBus registration
  Add support for making LE connections to GATT client
  Add a Discover method to the GATT Client
  Remove GetCharacteristics DBus method
  Add support for adding services to the Services property
  Add GetProperties method the Service Interface
  Add a "services" command to test-device

 attrib/att.c        |    5 +
 attrib/att.h        |    7 +
 attrib/client.c     |  449 ++++++++++-----------------------------------------
 attrib/gattrib.c    |    1 +
 input/device.c      |    4 +-
 plugins/hciops.c    |    2 +-
 serial/port.c       |    2 +
 src/adapter.c       |  105 ++++++++++++
 src/attrib-server.c |    6 +
 src/device.c        |   82 +++++++++-
 src/device.h        |    6 +-
 src/glib-helper.c   |   23 ++-
 src/storage.c       |   40 +++++
 src/storage.h       |    3 +
 test/test-device    |   13 ++
 15 files changed, 366 insertions(+), 382 deletions(-)

--
1.7.3.4


^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2010-12-23  8:33 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 21:26 [PATCH 00/18] Making GATT a first class citizen Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 01/18] Fix attrib plugin deregistration Vinicius Costa Gomes
2010-12-22 11:54   ` Johan Hedberg
2010-12-21 21:26 ` [PATCH 02/18] Fix memory leaks in the attrib-server Vinicius Costa Gomes
2010-12-22 11:55   ` Johan Hedberg
2010-12-21 21:26 ` [PATCH 03/18] Move primary service storage to device.c Vinicius Costa Gomes
2010-12-22 11:57   ` Johan Hedberg
2010-12-22 22:01     ` [PATCH v2 3/18] " Sheldon Demario
2010-12-22 22:41       ` Johan Hedberg
2010-12-21 21:26 ` [PATCH 04/18] Add a way to store the remote device type Vinicius Costa Gomes
2010-12-22 11:58   ` Johan Hedberg
2010-12-21 21:26 ` [PATCH 05/18] Add support for storing the " Vinicius Costa Gomes
2010-12-22 12:00   ` Johan Hedberg
2010-12-21 21:26 ` [PATCH 06/18] Add support for creating devices from stored types Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 07/18] Add support for creating devices from stored primary services Vinicius Costa Gomes
2010-12-22 22:50   ` Johan Hedberg
2010-12-23  0:16     ` [PATCH] " Vinicius Costa Gomes
2010-12-23  8:24       ` Johan Hedberg
2010-12-21 21:26 ` [PATCH 08/18] Add a way to retrieve ATT " Vinicius Costa Gomes
2010-12-22 22:52   ` Johan Hedberg
2010-12-23  0:21     ` [PATCH] " Vinicius Costa Gomes
2010-12-23  8:27       ` Johan Hedberg
2010-12-21 21:26 ` [PATCH 09/18] Remove GATT information when the device is removed Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 10/18] Add the btd_ prefix to device_add_service Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 11/18] Remove duplicated code for discovering GATT services Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 12/18] Clean up the primary service DBus registration Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 13/18] Add support for making LE connections to GATT client Vinicius Costa Gomes
2010-12-21 22:22   ` Brian Gix
2010-12-21 21:26 ` [PATCH 14/18] Add a Discover method to the GATT Client Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 15/18] Remove GetCharacteristics DBus method Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 16/18] Add support for adding services to the Services property Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 17/18] Add GetProperties method the Service Interface Vinicius Costa Gomes
2010-12-21 21:26 ` [PATCH 18/18] Add a "services" command to test-device Vinicius Costa Gomes
2010-12-23  8:33   ` Johan Hedberg
2010-12-21 22:06 ` [PATCH 00/18] Making GATT a first class citizen Brian Gix
2010-12-21 22:19   ` Vinicius Gomes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox