Commit: 27f05c1c55edf53eedefd5d417eece5dbdd806b7
Parent: 0c62d593c4cd44686fe7c21092dd50f09d8b6003
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-03-17 11:41:46
Tree: f371888c1c0f4781de1f05f59eea579abb9b3349

android/gatt: Add disconnect GATT device Disconnect scenarios: 1. If there is more then one client for a given gatt_device then client id is removed from dev->clients, success response is sent together with success disconnect event. 2. If there is only one client for a given remote device then we do what is decribed above plus clean of gattrib stuff 3. In case client_if or conn_id is incorrect, response failed is sent

Diffstat

M android/gatt.c | 55 ++++++++++++++++++++++++++++++++++++++++-

1 files changed, 54 insertions(+), 1 deletions(-)

View Full Diff | Patch