Commit: e3c663cc3a82a9b6901de3e588f7861337eca257
Parent: 0538b3b9756a3fc792aeb4f3f0eaa9485e528683
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-04-28 14:14:28
Tree: 47bc9887cac482fa27383cc09e85704720074b6e

android/gatt: Refactor client connection handling Multiple, connection specific device lists were replaced with one, while devices store their connection state instead. Client list in each device were replaced with single, global list, storing (connection_id, client*, device*) tuples. This seams to be more natural and easier to perform actions which are mostly triggered by specific clients on specific device or connection. Connection id previously assigned to device now properly identifies client<->device and not the physical adapter<->device connection.

Diffstat

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

1 files changed, 536 insertions(+), 468 deletions(-)

View Full Diff | Patch