Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp645905pxa; Tue, 11 Aug 2020 11:23:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0JerF3IcOwX2ae17DKSVfl3O3pOeoqYs9eL/kpLwI1/8L27wtymdWsrVT003ejbG+4jIB X-Received: by 2002:a17:906:80c:: with SMTP id e12mr28064073ejd.128.1597170208344; Tue, 11 Aug 2020 11:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597170208; cv=none; d=google.com; s=arc-20160816; b=RbPITivMvaG/PJkUN+mgKI/uyoUFcf6EpgF/+kp/siP4QF5wXOWyY2eGA4CBNgg62h KDPaiLGCEYuFLtE8bAYxq+tO1YQ0d2zhrjg1O9Ee/e+V47Y2+XJ2Eyu/HRn1J0Nq52sz AmJHhIkdIrXO0MKRBQL766TtnbLt4OQxk0WRqNkAU1ejs+6WgrXPZiEFnzcUUjGKZb/t Yn7aBYJbUqBltJY7w2KxK8iWEkGeAiiUXD2y2HMNfKS8fXPwptzZBcJ+L49P8cyW14rM ZNhja+mUX98oikGrCK+o9yf8VTB8QiWZ9ehVQuE0SuSCQNjkUtcUGSTjPoFmz8+G1jtD WnJw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=80MqzdbmpekdCOXsCwtPy9E0KJ1f3RCz3JzvHIOL3oY=; b=0y8wA60CgPBHQPOdtWi59NFaUrYFiPxEN/pA7492TymCAnYa7MpH44FENjguprk48k WqYFLxrVu2SGUqD9N/FpLZ5AmIv7s95qH1xQAPVkiT1Ps7rO0UK2DeOnhmfFO33b2X9S KB5zHLi1/EEVoowDH7sbz4QMRBrOX0wcGUTZTmufN/NBZtgZ9k7iI7Az3BbmYQd59SP3 wvBT3zGb666scj3Lz/RGo3rOqjfZ4FQ9QtIIn/FL6hSPVmb+AdN2PqPBiGZA5XHD488M vpKhNpaEwVFDGpwLRkFnz7bDLXNkQ6yIkNwAfcW3iWcN/77R9mMS0CUPAO0AtRQA0hCZ agRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Qov1Ikof; 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 17si13563199ejw.686.2020.08.11.11.23.03; Tue, 11 Aug 2020 11:23:28 -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=Qov1Ikof; 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 S1725901AbgHKSXB (ORCPT + 99 others); Tue, 11 Aug 2020 14:23:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725873AbgHKSXA (ORCPT ); Tue, 11 Aug 2020 14:23:00 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81528C06174A for ; Tue, 11 Aug 2020 11:23:00 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id t10so9776122ejs.8 for ; Tue, 11 Aug 2020 11:23:00 -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; bh=80MqzdbmpekdCOXsCwtPy9E0KJ1f3RCz3JzvHIOL3oY=; b=Qov1Ikofkd7DoHpiXC5igXurZ5v0Fvtjl+PLkSmwodk8fciUbwQimTCfxTm/zSRUOY WD4Q2JekSdtbDP0bZ4qoYU1kcFF6focFzeOcL2e3WLdEGHR9MKVJJKlrrTtPQqjhOw0r I+pMLZoCKCCkCOzUuxdAi1Sxch5YKtVeowhCrpJkNI+JlLqMHYZFERed+5kZdH7MA3CH EH1meiLs3l7uuMJs2pNbeuPQtDqzXNuHqW9QrPJZtBHoCjOlOfjb8WIquyqkyH6E9VJd cdvhZp6UdMemlkMwrvxKs94e7VHwjZGjetznnYtjedCYvlXodfuxWoYuevAsfndovGlq nPxQ== 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; bh=80MqzdbmpekdCOXsCwtPy9E0KJ1f3RCz3JzvHIOL3oY=; b=rIEdXzn7uWr7ECLLTLRtmg1WSSxUeJVrnwmKMjHysHLk85DfTFSIYGqOOCg+mERxhr wH2I3WFth7iwDLtRETvf+toiOvz+fqdIz04aq9R3jtYIHahw5IGQ58dMQGMsikfeAn82 FdJo5WNmoblhDr8Ferdh9xqC5ERVDp2N5La9s/Evu3dJjvVRWuxQ2wIKSC4X2ESzJIVy t6SMICG/dpgTz7XY9lDv3JIVpoCMgvRnC4/hGMDQg0wL+P8EQlxj+ou2VflIWXBVxSas LsxKgWgMpqniU2vwPOh0ctY/0ZkTr3OKbVIhwkehpbFdUgRRTkuX2jFTTY9090zYNQnt TlWA== X-Gm-Message-State: AOAM5337xboVfOzDSfH8nO+7UR8QkAkp5Wc+2WNQNhZbW/g6B6ebXo89 OrsM9fWE0B47yk8I9LLGSVv48qwtz/CALdETwjKwbYwzNSs= X-Received: by 2002:a17:906:e093:: with SMTP id gh19mr11531736ejb.210.1597170177637; Tue, 11 Aug 2020 11:22:57 -0700 (PDT) MIME-Version: 1.0 References: <20200803235811.2441774-1-yudiliu@google.com> <20200803165804.RFC.v1.1.Ibaa1dfd49179a141c19a651f3c2132a28b71b344@changeid> In-Reply-To: <20200803165804.RFC.v1.1.Ibaa1dfd49179a141c19a651f3c2132a28b71b344@changeid> From: Yu Liu Date: Tue, 11 Aug 2020 11:22:21 -0700 Message-ID: Subject: Re: [RFC PATCH v1 1/1] adapter - D-Bus API for querying the adapter's capability 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 Friendly ping for comments, thanks. On Mon, Aug 3, 2020 at 4:58 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 > > --- > > Changes in v1: > - Initial change > > doc/adapter-api.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt > index 1a7255750..250d0e9b3 100644 > --- a/doc/adapter-api.txt > +++ b/doc/adapter-api.txt > @@ -204,6 +204,23 @@ Methods void StartDiscovery() > org.bluez.Error.NotReady > org.bluez.Error.Failed > > + dict GetSupportedCapabilities() > + > + This method returns a dictionary of supported > + capabilities that is populated when the adapter > + initiated. > + > + The dictionary is following the format > + {capability : value}, where: > + > + string capability: The supported capability under > + discussion. > + variant value: A more detailed description of > + the capability. > + > + Possible errors: org.bluez.Error.NotReady > + org.bluez.Error.Failed > + > Properties string Address [readonly] > > The Bluetooth device address. > -- > 2.28.0.163.g6104cc2f0b6-goog >