Return-Path: From: Marcin Kraglak To: linux-bluetooth@vger.kernel.org Subject: [PATCHv6 00/14] Included service discovery Date: Thu, 23 Oct 2014 12:15:23 +0200 Message-Id: <1414059337-12040-1-git-send-email-marcin.kraglak@tieto.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: v3: In this version after primary service discovery, secondary services are discovered. Next included services are resolved. With this approach we don't have recursively search for included service, like it was TODO in previous proposal. There is also small coding style fix suggested by Arman. v4: If no secondary services found, continue include services search (fixed in gatt-client.c). Fixed wrong debug logs (primary->secondary). Fixed searching descriptors v5: Ignore Unsupported Group Type Error in response to secondary service discovery and continue included services discovery. v6 * Added comments to specific calculations and numbers. * Fixed goto labels as suggested by Szymon * Changed printing type of service. * Typo fixes pointed by Szymon Marcin Kraglak (14): shared/gatt: Add discover_secondary_services() shared/gatt: Add initial implementation of discover_included_services shared/gatt: Discover included services 128 bit UUIDS shared/gatt: Add extra check in characteristic iterator shared/gatt: Add included service iterator shared/gatt: Add function bt_gatt_result_included_count() shared/gatt: Remove not needed function parameter shared/gatt: Distinguish Primary from Secondary services tools/btgatt-client: Print type of service shared/gatt: Discover secondary services shared/gatt: Discover included services shared/gatt: Add gatt-client include service iterator tools/btgatt-client: Print found include services shared/gatt: Fix searching descriptors src/shared/gatt-client.c | 252 +++++++++++++++++++++++-- src/shared/gatt-client.h | 18 ++ src/shared/gatt-helpers.c | 462 ++++++++++++++++++++++++++++++++++++++++++++-- src/shared/gatt-helpers.h | 10 +- tools/btgatt-client.c | 20 +- 5 files changed, 725 insertions(+), 37 deletions(-) -- 1.9.3