Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2678967pxa; Mon, 17 Aug 2020 16:24:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr+TNvLMRzg4yP9mtjZlX1ir/SmWMIGaFN29oTC22fOL15prek1weNDPMAbpYSsVD2tUxe X-Received: by 2002:aa7:c395:: with SMTP id k21mr17650915edq.386.1597706655005; Mon, 17 Aug 2020 16:24:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597706654; cv=none; d=google.com; s=arc-20160816; b=TyjY/ObBArTtUfnS9qjEuPnNsObtPwYZI1Dp5Chd7q4wJDcFLCJSP/L4dKbiW2DWuw eoZzpUlH6RfU4Y4Bhw7IaEqlebj3txsViKp82jklSQguYBHk8rxq6gbGjVtJ1ngP015F 1EFQNAfd5eYH6fVbmDfBY+7i2lro6vt8FYVHNrQJ1marnf+GbisPUAsHTv0FNQ9o4tqU 7aYZD38RM3OZASnR1xVN/Cb0RVfKUaUbeX3tD24O9JIYhvTlphUJsYwYB85VpN3WfDqu Xe7jMFc5MLgr0gzE+9aYsHUq6LM+SSa8X54Ph202VmaPmkWGTU6RHeWFsi732ALuyRBK SMCw== 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=sBN+7DVSoGmRYZdaF0Xc2Fr0jnFu0vtmzUtOMztMCvY=; b=HJM0zyz52Ag5Q/581Wesp971D6wQhzPltBoHDQge8JNvuCt886mUGABeVNWspuPvDb tTwzqyqjiRar7qyRWISrrp4SFdSYmGJtgH0M3Sa7Qv51OeQIh0vQBnRRxWPTER/OSHNl L+cSn+N/OcvrRoavChoX1yoXknTNUemfP8U3E4g/73jN7pY0A/Dfr/MRLeScn0nE4F8x CSw4GY9zL+xGfYobYgF9vIQPeWRntTRcDtaj/82DDHwVCntaSBjQvHk4GlATEhC0Blel 7zpNuODYawnovNzGVlu6oo1tSYAs+Qb8dUUruI/TUhDwMl8Wtl3Nsb99D1HRDyzZJiNi w5Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JMyMxx3S; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qc15si11696517ejb.658.2020.08.17.16.23.42; Mon, 17 Aug 2020 16:24:14 -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=@gmail.com header.s=20161025 header.b=JMyMxx3S; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726560AbgHQXRL (ORCPT + 99 others); Mon, 17 Aug 2020 19:17:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726196AbgHQXRI (ORCPT ); Mon, 17 Aug 2020 19:17:08 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBD60C061389 for ; Mon, 17 Aug 2020 16:17:07 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id v6so14769281ota.13 for ; Mon, 17 Aug 2020 16:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sBN+7DVSoGmRYZdaF0Xc2Fr0jnFu0vtmzUtOMztMCvY=; b=JMyMxx3SP14VqB41O7Upjcma9ejQjvya7OeyvIPEczgYi1SS7ObRGpgxXtbD/7hh6U 3SDbCejRF2mPXNkjvn17ogxEKjzGp9o2/eUTZLRjS+QCXdewe7ytHq8+Fr85epKrA8NV jmw5JDcrrIyzVHnoRcIVHePaACGd5RbXtm2larBXbzs1lCpH96bOmz62YSCRLgDBRvkT hp4/1QAHQBN7Re9imjXDv2NzigrnIzq2WQyZ78IDArW3nej0StaJCEq6Lj0MdMZh1MQR 62+JmSNI1Egyfhv9FHd9Im2x9KkPyYg06OKHNlbpyOYTK/eUl8eHl+Z3aXtXkxeV3Viq aWpA== 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=sBN+7DVSoGmRYZdaF0Xc2Fr0jnFu0vtmzUtOMztMCvY=; b=iYacYCoTqLA5r9acikzoGEgwyaDHLk60XmeKAmeKF98oc42I8gvvr1F2q3jtz/MWSk wyzQCckI7aNCiSxcVY41tmloz0+Ptmx6zfd2IJ7nXimlBacOxw9d7OWpiRr17s9uBZly 2vY6cz38H3E62wDP8VXWskF4c1KUkyw9m9Br93dvSD6PreoFsXI++K0N2fM3RXyiXb7H m4Je0O2V6Lul4igqJc7MCjzUY3FllLG3LWxeQqV5eNwYvAU2OqI8B3H9Rrl4IWSb8PcB adcKnL3ymfSqyzuZoWotyzUfPyA18IIpJVD8numRR1SnVC6SorVD+kgQlLdz1DIDiaCy QB3A== X-Gm-Message-State: AOAM531Q4ju6qNuR1BVMtl7XaRCyl9SdTBBmetx/bEMmUwA+DGwShnfz rbSFyTWM0iE+8uSDwVGOD4DBi6rY8CGigMaK37p+XCAM X-Received: by 2002:a9d:6053:: with SMTP id v19mr12568844otj.362.1597706224803; Mon, 17 Aug 2020 16:17:04 -0700 (PDT) MIME-Version: 1.0 References: <20200817212554.3844965-1-yudiliu@google.com> <20200817142545.RFC.v2.1.Ibaa1dfd49179a141c19a651f3c2132a28b71b344@changeid> In-Reply-To: <20200817142545.RFC.v2.1.Ibaa1dfd49179a141c19a651f3c2132a28b71b344@changeid> From: Luiz Augusto von Dentz Date: Mon, 17 Aug 2020 16:16:54 -0700 Message-ID: Subject: Re: [RFC PATCH v2 1/1] adapter - D-Bus API for querying the adapter's capabilities To: Yu Liu 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 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