Commit: 5a8f171950592074c62e764a9f6462fdcb34a099
Parent: 711e748eb33e5796293f5bb37a1c957c24c39c65
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-02-13 12:52:28
Tree: 616f0cf03db71cbf8c93a576beb74e0d1a400490

android/gatt: Simplify app disconnection function call flow We do not keep app_connections in disconnected state and disconnecting is equal to app_connection destruction. Thus we can use more generic 'queue_remove()' with proper destructor instead of custom functions like device_disconnect_client and app_disconnect_devices. This destructor will notify app about disconnection.

Diffstat

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

1 files changed, 20 insertions(+), 58 deletions(-)

View Full Diff | Patch