All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/5] core: gatt: Support enabling notifications
@ 2015-01-29  2:10 Arman Uguray
  2015-01-29  2:10 ` [PATCH BlueZ 1/5] core: gatt: Implement GattCharacteristic1.StartNotify Arman Uguray
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Arman Uguray @ 2015-01-29  2:10 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: luiz.dentz, Arman Uguray

This patch sets brings support for enabling notifications while in GATT
client-role. The changes that are introduced are:

  1. Implemented the StartNotify and StopNotify methods of the
     GattCharacteristic1 interface. This are internally tied to
     bt_gatt_client_register_notify and bt_gatt_client_unregister_notify.
     These also manage notification sessions on a per dbus sender basis.

  2. The exported GATT API objects are not removed in the event of a disconnect,
     if the devices are bonded. All notification sessions are also persisted and
     automatically re-enabled on reconnection. Also, adding new notification
     sessions via StartNotify is allowed during disconnects.

Arman Uguray (5):
  core: gatt: Implement GattCharacteristic1.StartNotify
  core: gatt: Implement GattCharacteristic1.StopNotify
  core: device: Don't check ready in service_removed
  core: device: Add device_is_bonded_for_gatt
  core: gatt: Keep objects over disconnects

 src/device.c      |  31 +++-
 src/device.h      |   1 +
 src/gatt-client.c | 453 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 466 insertions(+), 19 deletions(-)

-- 
2.2.0.rc0.207.ga3a616c


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

end of thread, other threads:[~2015-01-29 20:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29  2:10 [PATCH BlueZ 0/5] core: gatt: Support enabling notifications Arman Uguray
2015-01-29  2:10 ` [PATCH BlueZ 1/5] core: gatt: Implement GattCharacteristic1.StartNotify Arman Uguray
2015-01-29 13:37   ` Luiz Augusto von Dentz
2015-01-29 20:10     ` Arman Uguray
2015-01-29  2:11 ` [PATCH BlueZ 2/5] core: gatt: Implement GattCharacteristic1.StopNotify Arman Uguray
2015-01-29  2:11 ` [PATCH BlueZ 3/5] core: device: Don't check ready in service_removed Arman Uguray
2015-01-29  2:11 ` [PATCH BlueZ 4/5] core: device: Add device_is_bonded_for_gatt Arman Uguray
2015-01-29 13:52   ` Luiz Augusto von Dentz
2015-01-29 19:46     ` Arman Uguray
2015-01-29  2:11 ` [PATCH BlueZ 5/5] core: gatt: Keep objects over disconnects Arman Uguray
2015-01-29  2:24 ` [PATCH BlueZ 0/5] core: gatt: Support enabling notifications Arman Uguray

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.