Commit: a3b9ffd1a3b846d0bf6d5b208b06c10295b008be
Parent: 51dca8e83b3d3dc2cd1906e97a7aba0ca0296b8b
Author: Jakub Pawlowski <jpawlowski@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-09-16 13:50:32
Tree: a04dfd2e9225f91a7ffb97b413fc6144eae5de4e

shared/gatt-client: enable notifications right after connecting Right now, if you re-connect to device that was previously registered in DBus, you can read and write it's characteristic without any error. Trying to register for notifications would however fail. This patch fixes that by making sure you can register for notifications before gatt_client is ready. It also re-register exising clients right after connection, not when gatt_client is ready.

Diffstat

M src/gatt-client.c | 12 ++++++- - - - - -
M src/shared/gatt-client.c | 2 +-

2 files changed, 7 insertions(+), 7 deletions(-)

View Full Diff | Patch