Parent: 8cb3d744ea367e6cc0256dbde01b2a688350eb8b
Author: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-05-05 10:47:16
Tree: 5f88fd181d666cfe056bb8e360bc59300929056f
attrib: Add simpler call for descriptors discovery This patch adds gatt_discover_desc() function which performs descriptor discovery in a manner similar to gatt_discover_char(), i.e. it does complete discovery procedure and returns list of descriptors found when finished. For 16-bit UUIDs in addition to string UUID, short UUID is provided. It's also possible to specify single descriptor UUID to look for and discovery procedure is interrupted as soon as UUID is found. This way no more than one descriptor is returned which is useful when searching for common descriptors like CCC.
Diffstat
| M | attrib/gatt.c | | | 146 | ++++++++++++++++++++++++++++++++++++++++ |
| M | attrib/gatt.h | | | 10 | ++++++++++ |
2 files changed, 156 insertions(+), 0 deletions(-)