[PATCH BlueZ 00/17] Implement doc/gatt-api.txt for client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set implements the D-Bus API outlined in doc/gatt-api.txt for
GATT client role. The main highlights are:
  - All exported objects are managed by a btd_gatt_client, each
    in turn owned by a btd_device. All D-Bus logic is isolated to
    src/gatt-client

  - A GattService1 hierarchy is exported for a GATT service only if no
    btd_service exists for it, i.e. no internal profile has claimed the
    service.

  - Objects are exported when the gatt-client is ready and are removed
    when the device disconnects, as there is nothing interesting that an
    external application can do with services without a connection and
    before the gatt-client becomes ready.

  - Objects are added/removed after "Service Changed" events.

Arman Uguray (17):
  core: gatt: Introduce gatt-client.
  core: gatt: Export GATT services on D-Bus
  core: gatt: Export GATT characteristics on D-Bus
  core: gatt: Export GATT descriptors on D-Bus
  core: gatt: Implement GattCharacteristic1.ReadValue
  core: gatt: Implement GattDescriptor1.ReadValue
  core: gatt: Implement GattCharacteristic1.StartNotify
  core: gatt: Implement GattCharacteristic1.StopNotify
  core: gatt: Expose charac. extended properties.
  shared/gatt-client: Expose MTU.
  core: gatt: Implement GattCharacteristic1.WriteValue.
  core: gatt: Don't always issue read-long for ReadValue
  core: gatt: Implement GattDescriptor1.WriteValue.
  core: gatt: Reference count chrcs and descs.
  core: gatt: Handle Service Changed.
  core: device: Add function to get GATT service
  core: gatt: Don't export claimed services

 Makefile.am              |    1 +
 src/device.c             |   51 +-
 src/device.h             |    4 +
 src/gatt-client.c        | 1943 ++++++++++++++++++++++++++++++++++++++++++++++
 src/gatt-client.h        |   30 +
 src/shared/gatt-client.c |   14 +-
 src/shared/gatt-client.h |    8 +-
 7 files changed, 2044 insertions(+), 7 deletions(-)
 create mode 100644 src/gatt-client.c
 create mode 100644 src/gatt-client.h

-- 
2.2.0.rc0.207.ga3a616c

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux