Commit: 0aef311ec7f28585c31e03686646bb625966c15f
Parent: 68ba4bc93ae2cc97ffa7ce6d58d13ee88a66ac85
Author: Arman Uguray <armansito@chromium.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2014-07-31 01:19:32
Tree: 026229d1040d4eec880880d1644ea34362a6bb93

shared/gatt: Use iterator based discovery result structure. This patch changes the GATT specific linked list structure in gatt-helpers to bt_gatt_result and bt_gatt_iter. bt_gatt_result internally stores a linked list of ATT response PDUs, which get decoded on-demand by the iterator functions. Each iterator function operates on a specific ATT response PDU.

Diffstat

M src/shared/gatt-helpers.c | 574 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M src/shared/gatt-helpers.h | 21 +++++++++++++++- - - - - -

2 files changed, 306 insertions(+), 289 deletions(-)

View Full Diff | Patch