Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp104939pxb; Fri, 5 Mar 2021 15:59:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwm1CUrJsfDe9Zvx6ubTkOkq7mcYzJSpF1E57w3FxS8TWr0Zv92KzHsnkBYFiFR6MAlTowY X-Received: by 2002:a05:6402:13ce:: with SMTP id a14mr11693451edx.365.1614988742956; Fri, 05 Mar 2021 15:59:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614988742; cv=none; d=google.com; s=arc-20160816; b=JZHaC3jLfpejKPKPQY8P9DFD2gueLfMATN9FVWmXhdOznUaJCU8IOlQ4T8zkYM6h7Y iW8I6vGyOpixcs4Y+bfCDFNuMUlRh+321LimGix7Jlh8Wr+njHlDBux06bCD7rZkORT2 zKB/+MOJ7p1mt6z8VGbK4QuGu2uKAz6CYU+HHo98po86KpPeKP/MHbNdZDugDwBRRRkI S8PQ0DVnmb0qj0z2CgRB3M1r9KnuOwuSrabnkffuxSzzHeNpDDdvxtg9shXn8x1hWUbZ 7ssbjfBFzDnBj1JuLxdUYU+/kwB+D968qLqX8eTrPbchMufxRILCI8jUBvwDb7EPFnVP sCRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:sender:dkim-signature; bh=JCTB0flAHIiTjBr3HF9i0mcV0r9v1jIF+xjdrPpa554=; b=SJVOSg8DeORYIv2pwX0L944+uW/YW7AdS/uch97s5D09PbcEXklC7MYCPC1pRnwg0r lIPhe0Vg4h0OsJBMr81j6m9kLH7pwxJBVau4mHWHSEhj+I9BMLHiehRGgncq0nTZwKfb XIqPj5fjvg31jXQiDkYmGnapPEl2VWNBqZ24eR7FJwTZb0IKPG/gb4SXXxVs3cLfH9EX LBxOMjH0bTQsY/ImVliagybNFYyDHCtZl91h9nLqZhzKwo3bqKPJo3NSsrqEAaUQp2Vk i1/7qyLTO4OyCu4A8UJFx/qnlu2dBolMzE74GY0C9xvBSOy7mSCvPqQ1lGvZJCzryTop LJCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=F93N82Zs; 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 dj20si2524396edb.250.2021.03.05.15.58.25; Fri, 05 Mar 2021 15:59:02 -0800 (PST) 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=F93N82Zs; 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 S229969AbhCEXwl (ORCPT + 99 others); Fri, 5 Mar 2021 18:52:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbhCEXw3 (ORCPT ); Fri, 5 Mar 2021 18:52:29 -0500 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA4B4C06175F for ; Fri, 5 Mar 2021 15:52:28 -0800 (PST) Received: by mail-yb1-xb49.google.com with SMTP id l10so4308454ybt.6 for ; Fri, 05 Mar 2021 15:52:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=JCTB0flAHIiTjBr3HF9i0mcV0r9v1jIF+xjdrPpa554=; b=F93N82ZsdvnQtbsS61zG8vWx9O9iRuTMamFMdS1E++9oy6xINuSmCrri29huTG5zkq tF05ohehPyFhlqOtERFRvU6uId05RqPszA1KYbnDMKRvsiMSmAL348ZV5PHEWmk2U6l1 /fP0nheoDt5gCqJLnMwDBYCbZhXi4vho2Cfoe63SK+dq24HPwetZ/0el1nBoN0dpnPN0 bdV1Kq2gdwWQgDE9I8q6rIX1D7l1H+RrJMhESVk83fV97J83yRckSKSEVeiSmmBCF5z2 LhD+vlKq/kZmVpbhIa8t0IN/ydcCS74CmV7uo7NR13qv1IxNoLomjNNZ0Kmh2RVGLNnt GEfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=JCTB0flAHIiTjBr3HF9i0mcV0r9v1jIF+xjdrPpa554=; b=Gha1vZbcsaGLVN9SdLUb6RFZdpO6wCqD83yJKMf6tm+wEveB9lqxrCbn4QKyQ5dPSd j4WA367GiXh99DWd4XjwMAPQdxgx2ZsxiDp+34f4V113YQco6OzH3Qrtu23JVlisu6X0 3E91SaapCgI0kslxhuypvZK613J0IUT4kzjtWygHVLtq89jLNoBVI6GFcmx9tsXHFZKj zQGCJQUAhA8pT520QExOXkB0pbJsT84a/aenVX66vue4lr+Ikn6405l35mOT3kGJld4g lnhxQbROvuTp2yDMCW+2z3xc2G+pSaFGzPZvZmEVdrPEC7St+46J79sZCmn/opCIVIil d0Ng== X-Gm-Message-State: AOAM5323jKMqFslP8rEstuagXmkBRc7hyJaGgfzTqvvu6IcJ7OySUW+o 99j5a6TGZzKEwcEcUqCiAZIU8zous+FOqAG3MTb70++0ImfSjg9IuYiqkgNNSokHCjKKFR9g5y0 sKQ5ewJwiQFDydYQ+RycLA2S6LnUlGGw8sbnRfQsmsOTUml6Y1i4yGuEii8va/rbVEtTPFnLu0f 2o3kSomQ3netpI2VVi Sender: "danielwinkler via sendgmr" X-Received: from danielwinkler-linux.mtv.corp.google.com ([2620:15c:202:201:94dd:309a:2fcb:13a]) (user=danielwinkler job=sendgmr) by 2002:a25:a441:: with SMTP id f59mr17873902ybi.245.1614988348010; Fri, 05 Mar 2021 15:52:28 -0800 (PST) Date: Fri, 5 Mar 2021 15:52:17 -0800 In-Reply-To: <20210305235217.2382976-1-danielwinkler@google.com> Message-Id: <20210305155113.Bluez.v3.3.Ieb6522963e3f54b0d63dd88ed3ce24a8942ed73e@changeid> Mime-Version: 1.0 References: <20210305235217.2382976-1-danielwinkler@google.com> X-Mailer: git-send-email 2.30.1.766.gb4fecdf3b7-goog Subject: [Bluez PATCH v3 3/3] doc/advertising-api: Add adv SupportedFeatures to doc From: Daniel Winkler To: linux-bluetooth@vger.kernel.org Cc: chromeos-bluetooth-upstreaming@chromium.org, Daniel Winkler , Miao-chen Chou Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add supported features to advertising dbus api. Reviewed-by: Miao-chen Chou --- Changes in v3: - Rebased onto master Changes in v2: - Doc: Expect empty SupportedFeatures if no support available doc/advertising-api.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/advertising-api.txt b/doc/advertising-api.txt index 541c57004..ba9eacaae 100644 --- a/doc/advertising-api.txt +++ b/doc/advertising-api.txt @@ -235,6 +235,7 @@ Properties byte ActiveInstances "2M" "Coded" + dict SupportedCapabilities [Experimental] Enumerates Advertising-related controller capabilities @@ -257,3 +258,22 @@ Properties byte ActiveInstances int16 MaxTxPower Max advertising tx power (dBm) + + + array{string} SupportedFeatures [readonly, optional] + + List of supported platform features. If no features + are available on the platform, the SupportedFeatures + array will be empty. + + Possible values: "CanSetTxPower" + + Indicates whether platform can + specify tx power on each + advertising instance. + + "HardwareOffload" + + Indicates whether multiple + advertising will be offloaded + to the controller. -- 2.30.1.766.gb4fecdf3b7-goog