Commit: f78146f96fb254e43d3d003ddcdf97983cf764f1
Parent: 0c9f030b1b3c8cf96feb9f702c5b925a1dc9ea69
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-05-12 19:44:38
Tree: b96bb313e7b7ffdcc498187b8e8c448dbfb60be1

shared/gatt-client: Simplify included discovery Instead of doing include per service in a depth-first fashion do it in breadth-first like its done for primary and secondary since it is now possible to insert the include handle, not just append at the end, it is not longer necessary to fetch the attribute in order to have included handle. As a bonus this can also speed up the discovery procedure since it will result in less traffic over the air.

Diffstat

M src/shared/gatt-client.c | 130 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

1 files changed, 42 insertions(+), 88 deletions(-)

View Full Diff | Patch