All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/9] shared/gatt-client: Handle "Service Changed"
@ 2014-09-23 20:47 Arman Uguray
  2014-09-23 20:47 ` [PATCH BlueZ 1/9] shared/gatt-helpers: Allow service discovery by handle range Arman Uguray
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Arman Uguray @ 2014-09-23 20:47 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Arman Uguray

This patch set adds handling for indications from the "Service Changed"
characteristic. gatt-client automatically caches the value handle of the Service
Changed characteristic and listens to indications from it, if the characteristic
exists. When an indication is received, services within the modified range are
automatically re-discovered and gatt-client's internal service cache gets
updated. Upper layers can register a callback, which then gets invoked to notify
them of modifications to the service cache.

Arman Uguray (9):
  shared/gatt-helpers: Allow service discovery by handle range.
  shared/gatt-client: Make service discovery more modular.
  shared/gatt-client: Register "Service Changed" handler as part of
    init.
  shared/gatt-client: Remove effected services from cache on Service
    Changed.
  shared/gatt-client: Rediscover services within changed range.
  shared/gatt-client: Add handler for "Service Changed" if GATT service
    changes.
  shared/gatt-client: Add bt_gatt_client_set_service_changed.
  tools/btgatt-client: Set service changed handler.
  TODO: shared/gatt-client now handles Service Changed

 TODO                      |   7 -
 src/shared/gatt-client.c  | 590 +++++++++++++++++++++++++++++++++++++++-------
 src/shared/gatt-client.h  |   7 +
 src/shared/gatt-helpers.c |  40 +++-
 src/shared/gatt-helpers.h |   5 +
 tools/btgatt-client.c     |  34 +++
 6 files changed, 585 insertions(+), 98 deletions(-)

-- 
2.1.0.rc2.206.gedb03e5


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

end of thread, other threads:[~2014-09-24  8:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 20:47 [PATCH BlueZ 0/9] shared/gatt-client: Handle "Service Changed" Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 1/9] shared/gatt-helpers: Allow service discovery by handle range Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 2/9] shared/gatt-client: Make service discovery more modular Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 3/9] shared/gatt-client: Register "Service Changed" handler as part of init Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 4/9] shared/gatt-client: Remove effected services from cache on Service Changed Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 5/9] shared/gatt-client: Rediscover services within changed range Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 6/9] shared/gatt-client: Add handler for "Service Changed" if GATT service changes Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 7/9] shared/gatt-client: Add bt_gatt_client_set_service_changed Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 8/9] tools/btgatt-client: Set service changed handler Arman Uguray
2014-09-23 20:47 ` [PATCH BlueZ 9/9] TODO: shared/gatt-client now handles Service Changed Arman Uguray
2014-09-24  8:08 ` [PATCH BlueZ 0/9] shared/gatt-client: Handle "Service Changed" Johan Hedberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.