Parent: 5043831f6d3ffba19433d92df476523d22691a21
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2014-12-18 20:35:37
Tree: f8ea8d06fc0f10146c193667e8a0a780c1a3fc6f
attrib/gatt: Fix for search services This patch adds means to reuse ATT request id for GATT operations which might need more then one ATT request for complete GATT operation. E.g discover primary\included services and discover characteristics/descriptors This is needed for the user of gattib, to make sure that ATT request id he holds is valid during whole GATT operation. So far, it could happen that gattrib did additional ATT request without user knowledge which leads to situation that user had outdated ATT request id. Note that request id is used by the user for canceling request.
Diffstat
| M | attrib/gatt.c | | | 43 | ++++++++++++++++++++++++++++++++- - - - - - - - - - - |
1 files changed, 32 insertions(+), 11 deletions(-)