Commit: 5043831f6d3ffba19433d92df476523d22691a21
Parent: 4bf0a38d633dc7cb924f18b4e29fc4c614ad97cd
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-18 20:35:25
Tree: a69a7f2a03d361344bff2cfea58f62ed1e63a3be

attrib/gattrib: Add track for request ids If user provides req_id to the g_attrib_send, he assume that req_id should be used for transaction. With this patch, gattrib keeps track on user requested req_id and actual pending req_id which allow to e.g. cancel correct transaction when user request it. Note that for now specific request id is used in attrib/gatt.c for long write. Next patch will make bigger usage of this but also only in this helper. We do not expect other attrib clients to use that feature.

Diffstat

M attrib/gattrib.c | 106 ++++++++++++++++++++++++++++++++++++++++- -

1 files changed, 104 insertions(+), 2 deletions(-)

View Full Diff | Patch