Parent: 9b6a3e36b7e86420891ae27d9c564c16b73b96e6
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-09-08 14:38:22
Tree: 02cf77ab2a123cfd40bd213d742711a442b8583e
core/gatt: Fix not able to read/write on reconnections Upon reconnecting the attributes may already be available from cache which mean the client would be able to issue commands while discovery is not complete thus btd_gatt_client_ready was not called yet. To fix now btd_gatt_client_ready is split into btd_gatt_client_connected which is called whenever connected leaving btd_gatt_client_ready to only deal with exporting services found during the discovery.
Diffstat
| M | src/device.c | | | 2 | ++ |
| M | src/gatt-client.c | | | 24 | +++++++++++++++++- - - - - - - |
| M | src/gatt-client.h | | | 1 | + |
3 files changed, 20 insertions(+), 7 deletions(-)