[PATCH BlueZ v1 0/4] shared/gatt-db: Add service events.

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

 



*v1:
   - Removed in_notify/need_notify_cleanup logic, since shared/queue has
     been fixed to correctly handle queue_remove during a call to
     queue_foreach.

This patch set introduces service added/removed events to gatt-db.
gatt-db now allows callbacks to be registered, which are called when a
service is marked as active/inactive or when they get removed from the
database.

Also included is a small fix to gatt-server so that it holds a reference
to its associated gatt-db.

Arman Uguray (4):
  shared/gatt-server: Hold a reference to gatt-db.
  shared/gatt-db: Add service added/removed events.
  tools/btgatt-client: Observe service events.
  TODO: gatt-db service events added.

 TODO                     |   7 --
 src/shared/gatt-db.c     | 168 ++++++++++++++++++++++++++++++++++++++++++-----
 src/shared/gatt-db.h     |  39 ++++++-----
 src/shared/gatt-server.c |   5 +-
 tools/btgatt-client.c    |  28 ++++++++
 5 files changed, 207 insertions(+), 40 deletions(-)

-- 
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