Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1309344pxk; Mon, 31 Aug 2020 16:01:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy46CHd93u5AK7BczzATujBATvJMYRgoDKZQ/ou8NEOg4OQ2y/FRurRGrRkUcrrLGa6nO0d X-Received: by 2002:a17:906:fb8c:: with SMTP id lr12mr3175806ejb.9.1598914879449; Mon, 31 Aug 2020 16:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598914879; cv=none; d=google.com; s=arc-20160816; b=SefAxTheWQgs+Jzkny+M/BGqtvy/z1ZdcUTJoyOIAA9CCnfHWtzspi28Cmn1tI5ZyN 4eslfvt5O8yzNXFSQu+RRJvdlpGugR6rSpFoeQldjFMAK6z0a0dbBcYi7mRutLYgG8R/ KTmwBAPbhZOqte32g1HVd45YtkUvkOoJl5t6xE0diszLP4lGmjMvLdxnxIFUQ4V3f79U hEdWQYB3JG8BwszslyjntIKkeRhX4RpxDIsvSMNOgCDRrttucLe+ZAnMRdjT1Y+XCMMV O+PsmRUcQ6SrDXPKGfRbbWW2uZlHIh2o3iANtEdWakukeJg1lYJdI8dYu2bJPm/zQOwm oR1w== 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=kP7bcfk6+/3Yopc1eHI5vQIWajE9xbJMncMajv2F6lE=; b=s7CZiaIIOTcWgnqX8O4X8je3L7yGdvjQN0EBuFatEz74/eowh2PtllbvXyipIMqw46 vFd57knBSooKTdQqd4lpGFKFDwaFwWgnJ2kdeHabyQvvyWnmiOF7Kw0xn7DMxZtOshe9 5LVB2wnkY9fEOwufgocbh6pWDd2Zwxv8C84gJ/lD8JuRTVLCqwvaoJn1fkQ4b2tmIre7 mpd2aNl4It6EzR6yFrazHo59xIZijEGOBXUH6HC2Y7BjjXx1n+l0g291twxslhOcvJFl NqcFI3mP7V3/dgJsUU1vJwYdl2ddg0vLKYcx85l07MJCd5O1S3gLB0pwDB8UCfsMw1OD 9cIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pBeUb92u; 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 b19si6147512ejq.472.2020.08.31.16.00.54; Mon, 31 Aug 2020 16:01:19 -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=pBeUb92u; 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 S1730341AbgHaVou (ORCPT + 99 others); Mon, 31 Aug 2020 17:44:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbgHaVot (ORCPT ); Mon, 31 Aug 2020 17:44:49 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36139C061573 for ; Mon, 31 Aug 2020 14:44:49 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id c10so6880170edk.6 for ; Mon, 31 Aug 2020 14:44:49 -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=kP7bcfk6+/3Yopc1eHI5vQIWajE9xbJMncMajv2F6lE=; b=pBeUb92uX4HJyuGbdNLPfSKC/8278cJCl/zEEeMABU/YDHDsIMbiseU7b/Q1bUPmU3 4Q0v7j1N3pQXM1b0TPoYL5pwn++q+OyKe9eJVoPA114Pagq7tR9qRPb5MHieSVJNf5Zt n4GUiqlY+4Nd+ag4uSKSqGyVo84EWMRXKuEJw27k1mwUSARJZvc7kRhr24BrILkgZipJ dRNcsC5YxM0y0zrHKuKIRAAOVh1H86SoywkdT7gckZy+T0zmmMwqoG0phG0oKdEZgnua fPe6trAvFJOMulOwgG4/+N31uWIc3ZhVv01ezMCo0rU55KgfKBx/wnMLIOhKJJyXtgs0 ALxA== 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=kP7bcfk6+/3Yopc1eHI5vQIWajE9xbJMncMajv2F6lE=; b=nIlsrTxbZMwRepO1Gv9wl977KA8/E8dPM346g3K0dOG+m/caT7RDQwR7w2ZFJV+Iww IzaQBrfKqbAUJvDSeGfLMx8WpecouNGbMfpSGpN3bGeF5bbedm/eARQvk4Ism8E2l2St uGUnO4pePR9fPY0ZIrLM/8kFpIJrlWd369wfIfqgqTukl99kQgDCTaHh9bc3k6dZ80Uz 8C6/Jnu6hULNIdUXJf7xvuRYgkucfHQFS3kUBeKbuDZkuj/lqoZji46L2U/zgUAa5KK6 4k2WnvOt6luc4cKMDRL2OnCWnS55zmadBxqjKSnsh/M2pnZc1matvNrTKTULCIrfcgtK A3qw== X-Gm-Message-State: AOAM530O/DmCD5Y21bd0/x0xfdLJKQGDtlGmTckmf6ZET6d8iLsRYO1H Oq6zRidBmyC9feRMxf6WgLlTH1XTLhNJyE8YTT/X6A== X-Received: by 2002:a05:6402:6d6:: with SMTP id n22mr2912538edy.79.1598910287550; Mon, 31 Aug 2020 14:44:47 -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: Mon, 31 Aug 2020 14:44:11 -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 , Alain Michaud 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 +Alain Michaud Hi Marcel, Can you please comment on the cl as well as Luiz's suggestion? Thanks. On Thu, Aug 20, 2020 at 10:20 AM Yu Liu wrote: > > 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