Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1404331pxa; Thu, 20 Aug 2020 10:22:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY58JgYPluBXVfjrylR5ZJYd3b+GAEnLgWXGLYRwDO28jZjWx4mFAKairpOilNIPDLAD4l X-Received: by 2002:a05:6402:1591:: with SMTP id c17mr3829498edv.111.1597944156735; Thu, 20 Aug 2020 10:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597944156; cv=none; d=google.com; s=arc-20160816; b=XjZN28nzawWknQOFTaGCkb/qA9x+3AIgaAWJHW2IxPKbZtoIu4Di42XBi90QhmnwYc naXcvyXMrOy6ta80lwmOlrg1qTZX/59Jcy8SYhqkdvTZy8C6h6fRFQMlWOJAW5CO9Ig6 6h7+BXby3Qms/g60ee6PRmsIwyaEtJoXbmnbY96xF9j2Tx9W9rLZCaIi/x12a2uaksMl 2zTGe6dLpoTj4f/5CQ0KrAzc3eOk5dgWzQ4aeA9VoXswzc3MxiwD8wdeMvuNcS97Ddrc GR9uJJfmBmDMoOlXf9aS3V1MxZgmkQ0B9Yhgd0zR3Xy87xPUcMn8uJWFFNwsinf/F116 NDcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jdufANzauToKqmwmMwTfQjvv8/deNb/umE9oNAjsLvc=; b=JqkvCUvtqivuicwG3iqRX24u3aFZ4MelyH9xOgDKAxejnlGW993iLrtOQt/ac+NA+3 40hawYs4rMk8AvMH8zu/PutNspMWcw3mCD9GNL4uliZcmHiRhZIXX4qui9S/j+BoA7Hm OgTQb7/bIUrfCQVlHKJsORnz046aU9c2V79CkNbGlA2kDYvMWbQwk7vt7T6X5xJTivqU 2AzrtX8VCft6VW/PsPKVY2sQ3W2BrjpFN9DxD7rGht+BP0r0/TJ2QUuce04IjwA/sCnJ 3NPsY8DnmlrSP+AYKHEobSR1KOkNpQQiuveQaHhnfm6UlOn/cQUw2utuF2LA+0J4L6Zl MUrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KJW6cIiA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u18si1584839ejr.700.2020.08.20.10.21.58; Thu, 20 Aug 2020 10:22:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KJW6cIiA; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730514AbgHTRVU (ORCPT + 99 others); Thu, 20 Aug 2020 13:21:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730473AbgHTRVR (ORCPT ); Thu, 20 Aug 2020 13:21:17 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0827C061385 for ; Thu, 20 Aug 2020 10:21:13 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id g19so3415352ejc.9 for ; Thu, 20 Aug 2020 10:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jdufANzauToKqmwmMwTfQjvv8/deNb/umE9oNAjsLvc=; b=KJW6cIiAm80v3j3MztQgrglJPct/M/E9qEUZZaiTyphKmd/gWcPrH6ngEfCdKX8OYa tbwkRGUMUB9NfXdGS3XVY7lJu3Zi897CZQn1ij1TrzMCGQ0DkfMSlP9jsJIaFIBFFIi6 6zlWKTyV9zGaOZa9KCXefSzKSCUw2MmUvZZSdTumfCNiWSO7XuaD8AgwZEeRCSXUc5Tc xEvx2Rvvxim3xlLM68T90uvt70Wjhqk/S2u7FPM+vUZwvQU6xdfsyJ6L0E3I4sRVGiLA GuQh9QrLe0xkpVioxDd8X45C5xYi2FLSH3kGKAEGU7OFOf9UqNN2FOWmAhrjUleKfv6B RBBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jdufANzauToKqmwmMwTfQjvv8/deNb/umE9oNAjsLvc=; b=M/2TGqNZnfBNNhZbWF0Fql9yHntjOgZHe5DLXkg8gFYSxw0FuYWNGGi+IcsifF4f7J 9QrM8VPJBAHHPfoC6iEXdGTLM4kAJRjOK9788Kz3CgEVqOY3ERI5VHQTHc/Nlk4FezfZ cE6z0qGA4+h8yXyi8SYiX9jZxsHnUQMyZzFE12ULAAtm6xPIUnVrhprSLzXm5V9os2na QVoEu2UhXWa6bl2fM41P9VhGqllurFEZWYjYnt/Gdq9G0zlF3quM+N4xf6kTuJXw5Epl nQHSVTH7FRKPYdPX2fZKwVlnHI7XdOS0WlujAiL2lzZ+TDDK1Sgg8m0MfKLGHVk4OJgl +QFw== X-Gm-Message-State: AOAM530UUKL/NXUAeUgTK9vk8JRGsWk5yp4AZgX/ot+ROHBqlwMHqGi5 S4F5wY0aHHjp21zsCX5VaqCLEXoQpU2Ex9aKjDp9fA== X-Received: by 2002:a17:906:c2c8:: with SMTP id ch8mr4146656ejb.161.1597944072198; Thu, 20 Aug 2020 10:21:12 -0700 (PDT) MIME-Version: 1.0 References: <20200817212554.3844965-1-yudiliu@google.com> <20200817142545.RFC.v2.1.Ibaa1dfd49179a141c19a651f3c2132a28b71b344@changeid> In-Reply-To: From: Yu Liu Date: Thu, 20 Aug 2020 10:20:36 -0700 Message-ID: Subject: Re: [RFC PATCH v2 1/1] adapter - D-Bus API for querying the adapter's capabilities To: Luiz Augusto von Dentz Cc: "linux-bluetooth@vger.kernel.org" , ChromeOS Bluetooth Upstreaming , Archie Pusaka , Sonny Sasaka , Marcel Holtmann 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 Friendly ping for comments from Marcel. Thanks. On Mon, Aug 17, 2020 at 4:17 PM Luiz Augusto von Dentz wrote: > > Hi Marcel, > > On Mon, Aug 17, 2020 at 4:07 PM Yu Liu wrote: > > > > From: Archie Pusaka > > > > Initially this is introduced to query whether WBS is supported by the adapter, > > the API is generic enough to be extended to support querying others in > > the future. > > > > Reviewed-by: sonnysasaka@chromium.org > > > > Signed-off-by: Yu Liu > > --- > > > > Changes in v2: > > - Return an array of strings instead of a dict > > > > Changes in v1: > > - Initial change > > > > doc/adapter-api.txt | 12 ++++++++++++ > > 1 file changed, 12 insertions(+) > > > > diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt > > index 1a7255750..8fbcadb54 100644 > > --- a/doc/adapter-api.txt > > +++ b/doc/adapter-api.txt > > @@ -204,6 +204,18 @@ Methods void StartDiscovery() > > org.bluez.Error.NotReady > > org.bluez.Error.Failed > > > > + array{string} GetCapabilities() > > + > > + This method returns a list of supported > > + capabilities that is populated when the adapter > > + initiated. > > + > > + Possible values: > > + "wbs" - Wide band speech > > Btw, should we stick to use wbs terminology here, or we should > actually use the HCI feature/command, because wbs has actually to be > implemented by the HFP afaik this is only indicating that the > controller is able to notify packets drops, etc, with use of erroneous > command. Perhaps we should actually use the term PLC (Packet Loss > Concealment) instead since that seems to be the real capability here, > afaik WBS does not actually require PLC. > > > + > > + Possible errors: org.bluez.Error.NotReady > > + org.bluez.Error.Failed > > + > > Properties string Address [readonly] > > > > The Bluetooth device address. > > -- > > 2.28.0.220.ged08abb693-goog > > > > > -- > Luiz Augusto von Dentz