Commit: ef3bd8bbccd03a52ff0b657710a123a73a56f5ff
Parent: 7a2d60467334cd299e89a42717efc94bbbad85f9
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-04-29 18:13:35
Tree: f1764be7b7f40c126bd6b0fcebc8e51f915c5541

android/gatt: Use common code for server and client register As clients and servers are stored on a single list we can use common code in both of register handlers. We always confirm registration handling with HAL_STATUS_SUCCESS, regardless of registration result, which is reported by event notification containing GATT_SUCCESS or GATT_FAILURE status.

Diffstat

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

1 files changed, 44 insertions(+), 73 deletions(-)

View Full Diff | Patch