Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp377384ybi; Wed, 19 Jun 2019 00:48:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxv6Gd1lMg0cHuY+Ns9pUe9vynYQgz3pnbzjNymBK328KgUmctnPa8aR+tm/ALudFYNSsVN X-Received: by 2002:a17:902:8649:: with SMTP id y9mr40584272plt.289.1560930515820; Wed, 19 Jun 2019 00:48:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560930515; cv=none; d=google.com; s=arc-20160816; b=ex1IVZht4vVFhqeVG6nIdbhSqbcvVdxO+oIBl58P1WexI/a2wCrVTjttJrSEDXsQDv mshOm+NOVTP55wxZ6MKpFyDkTmGU6zAMealSjzOTH1mmPd5v9gHVnmLtqNs3nMLe84za zGaPU+sjrWIh/nknpNBL2qT1VAZQy0i167kX7wVZp3G7p0hJaE9uElNEob5ZTx/FXKad /2XFnRRi7ZyGVH0pb9CBuxMYUPQOeyL623n4i5BimWMEZsokWvcwnJCwj54zEs+LHRMc 45OQ0gisDR05uMtTaI7pRA51CT3SNu0l2oiNzBcfvP7A/qpuoKLWh2w7zcvuBuTHA3wK v4YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature; bh=a7ESxKbJ6dLO06C54r7b1fWawG+1HB/PgepI3g5cPy0=; b=XfjygY6XYWvoom6qVxDoNm8qkI4TnuWUDpI+zii5AaP56dtHrnGZBO/+AYBX4gbiUf pEhNm6L+TylmZQq7w08QXu74++H9mhG0eT5qwkSd53VvPizSysphtuuY+8b8y7cHbW87 Rf8WbPEGqNQyoOgNvKJQTL3GGwM2A5I1auVK3/ghGDHHZOaB7QRgrV7iEu3nBstyGYDK Q9tGfVv3+wQJDZQHFoYiNZrPCq58qDKfhaFuDcEbaTKWLZicKG+wfScczEiYY4ZBhaH3 L6IAowsEE+SrMhjRYsVldJDOhpXI+QARWx0JUyv8MHGuQTiBYHuLEj6vdfoFwg3ARtcB onLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@orcam.com header.s=google header.b="D0Xn//Xy"; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si14037488pfa.260.2019.06.19.00.48.07; Wed, 19 Jun 2019 00:48:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@orcam.com header.s=google header.b="D0Xn//Xy"; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726142AbfFSHsE (ORCPT + 99 others); Wed, 19 Jun 2019 03:48:04 -0400 Received: from mail-io1-f46.google.com ([209.85.166.46]:45830 "EHLO mail-io1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbfFSHsE (ORCPT ); Wed, 19 Jun 2019 03:48:04 -0400 Received: by mail-io1-f46.google.com with SMTP id e3so35898414ioc.12 for ; Wed, 19 Jun 2019 00:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orcam.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=a7ESxKbJ6dLO06C54r7b1fWawG+1HB/PgepI3g5cPy0=; b=D0Xn//XyKqoE7HzlQhU+AXV3M/6VEkbswZWcchBQcUxp4SAszQGZ/putiSCL2rxAR1 OtY+ZX8+q9Ri9p5FsdBzgsHSb00uDdxFdOyw0+r5N1wcZlzK4PceBfk0Ku/177wY8jKt 3I4d1L0yvnbFqsTT+0ap7B7ZxKeaV9s/Dksv4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=a7ESxKbJ6dLO06C54r7b1fWawG+1HB/PgepI3g5cPy0=; b=aD1YL6Qli+WbVgQfHobl988aclsDqhB7kYu3NDr+hoskXj4VtbCBxcqXkJmDFfH2MZ 8efnr4yNaWCKCMYWrOp6AQ5lYl0WfQkdeUTROKbwJit/Cb2EoydxkHHl/cguc48liTqJ oU6XydTy5h9blnUIi7R1INaGbuJClwXL3RvlWb58AGnJDmK3i4++ubyNTjsay4I1r2fv 2+YGroDddfmeKu5SCVtDCNOMaMC/plb1IqSdUzsNCEym8lxX5fWJnCashMmfz3m2T0SJ Ik2l1HJfb61nWr/moHCTSBeWHSDg8vdBeJVVAXZ8s3lgFwSDoqyZdOPGJ0Kt+EY383V6 qwEQ== X-Gm-Message-State: APjAAAWLLhdmf+L82ugzxQJUfsa1QBj2vxDUEtsH7wtndj3U8dWe0q9V YY81iaxrWWVMLLzXztNpeh4e3ouqgLMZdCc/uCpoHvjPLo0= X-Received: by 2002:a02:22c6:: with SMTP id o189mr5590245jao.35.1560930483834; Wed, 19 Jun 2019 00:48:03 -0700 (PDT) MIME-Version: 1.0 From: Ordit Gross Date: Wed, 19 Jun 2019 10:47:53 +0300 Message-ID: Subject: discover services To: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org hi all, as gatt-client I see the default discovery is for all services (bt_gatt_discover_all_primary_services). in order to reduce time of discovery, can I hand over two UUIDs of known services? (when I had to discover only one service I used bt_gatt_discover_primary_services) what I essentially looking for is discover(UUID_SERVICE_1, UUID_SERVICE_2) thanks also, is there a better forum for such questions? really appreciate your time (: Ordit