Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp892401pxx; Thu, 29 Oct 2020 17:48:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1w9T07pX3s+ghMsZa56kbr3szAWQZnqBdnSH4gH6Ss3N0u7FLuT+eQXxbougor58zGbyn X-Received: by 2002:a17:906:3c44:: with SMTP id i4mr6900338ejg.177.1604018910040; Thu, 29 Oct 2020 17:48:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604018910; cv=none; d=google.com; s=arc-20160816; b=D8CKyW/7slBlv35StA3ikxidaCTS6PyNJ8bszm8dOFk8tfzPQj1pe/bf+L6S8qiRdQ m59FmMpquu4GSGopfWiEumriwfDIuvjHpNZ5Q1ApAnwrr3NIv3w99NfNel1f7jlxI6AE PCDsaooN82StSCCePdienwkli36scuE/rGWNZRK8x/TSGjxilHvpNwa0CJKCUU06pwQz F2ILmpSvy+EQhmYnM+GKNpZisoSM0c9W+opp2PFMcNUULIZq1KlRv2kyA05XNkFmiZCP Q7Hs9id5bWy41yS2bx5vMcotnyChZsAFJ0Z3PUb9i70qzCjUs5/zj0gzSTISwt9/6dNK dpkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qNS1iXRP7m0LtHaHqd0Pe+LsJDurJu8OyJChE/LO9pE=; b=yb8tIz835ECX8oKXFWJnBVszCvMvIyX8YJCRIDQWHqGFaTvdIG7/zYMgPTZdG8ddrT SGOJY2824fjFx9CJ+Z3quvH+CIGfvH/gqLxuVxz4xWxhmkexoj3XcyFqOlW6Q5v4AJmZ JfL1jO7jEQg1/lCw7PPrpgPRoYsHP4V2l0dgnGVFuA066wneP71yLpmaxonlDcpT55P5 VHMJqOXrbJX9V3CSGn3zsB33YjIv9YONq+VVCBqmNiSjSmsdLPnJbc+4s72yqc0qcG/T fPjraGwcKwzx6zUz0nb90nibeLCDGMC/CEvOLo/XnCjG6L9v3mCB1VUKHLWNCqz0l54U ANuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sMxnlvZR; 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 t1si3082741ejb.712.2020.10.29.17.47.48; Thu, 29 Oct 2020 17:48:30 -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=sMxnlvZR; 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 S1725800AbgJ3Arr (ORCPT + 99 others); Thu, 29 Oct 2020 20:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbgJ3Arr (ORCPT ); Thu, 29 Oct 2020 20:47:47 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAABEC0613D2 for ; Thu, 29 Oct 2020 17:47:46 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id c72so5033883oig.9 for ; Thu, 29 Oct 2020 17:47:46 -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=qNS1iXRP7m0LtHaHqd0Pe+LsJDurJu8OyJChE/LO9pE=; b=sMxnlvZR2SYpAZO/T0ssFd4Y+cJrtNJeUFi87fhldVcGkjnDyA0m7FrxXO+Dc4cH1b R9EmIS1NOJMP6PGftYSxA6aNseF95BekO/r+rKANehcoHAMa4o3VICBln0lLM8pH1VTv bgrDf7gc1QBSV9DYW6pA9XktaMVDwdsY/vfSgUOwrYS6rz9bYG2FdURVFGOI97L7lWnD Jc+sWBVn4GzvLLA9+J+huK2FhfCNwfJB1c9+rYOGdS/c26cfyc23ULJL375Fa8SfeSA5 rhq401HIQt2fVzFFdLNldDy4f7ZrnG6I1qU7kVDDsks3Sxm3enmjWv+B3+1n4h7BXRho ysFw== 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=qNS1iXRP7m0LtHaHqd0Pe+LsJDurJu8OyJChE/LO9pE=; b=HXHjMrVQAm9ASw9q0u/HMLRYLXr+3nsfzjI/tjZzfRhG9vUlVa5zL/dRB1Qduxn0PN inAUM/I+s+TjZjfa9HZJQTkRM4G0vLhqeQ7lxqHnx98ZQomwvd3jDQ9zkgFVwTJwnc/q tBzb4ORJ/qgtNEaMCWVLfOE3V9o6wVYiNITD3O9ikDMh+75T/AsryFyMv3Ud/qgaCQt9 mC0/NEfbafpwQfhG4LKpUoTyUTpXuGS0YEAGnRSOEYFBcUNluSPEv60vGc8PEY0ejJj8 Yr21FqIWjbUHtafYMgEY2ovmgMipjxuu0fjdPDmMjr0nckWnACiLQsf8zylzc1uye0xe kXBA== X-Gm-Message-State: AOAM532V/mD5suox8Yupgrr2YhCnRsvouGglwakEyGcupaOv9Tez5Vr2 LAVdUzaPzq8fcTcOrYVvG3XYZi44iKPDTwkhYXo= X-Received: by 2002:aca:cdd8:: with SMTP id d207mr1262780oig.64.1604018866253; Thu, 29 Oct 2020 17:47:46 -0700 (PDT) MIME-Version: 1.0 References: <20201029230623.3630069-1-danielwinkler@google.com> <20201029160317.Bluez.v6.1.Ifaa96e71a871158e5d9d454073b2b6846eae339f@changeid> In-Reply-To: <20201029160317.Bluez.v6.1.Ifaa96e71a871158e5d9d454073b2b6846eae339f@changeid> From: Luiz Augusto von Dentz Date: Thu, 29 Oct 2020 17:47:35 -0700 Message-ID: Subject: Re: [Bluez PATCH v6 01/10] doc/advertising-api: update API with new interface To: Daniel Winkler Cc: Luiz Augusto Von Dentz , "linux-bluetooth@vger.kernel.org" , ChromeOS Bluetooth Upstreaming , Sonny Sasaka , Alain Michaud Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Daniel, On Thu, Oct 29, 2020 at 4:09 PM Daniel Winkler wrote: > > This updates the advertising documentation to include the following > features: > > LE Advertising Manager: > - New SupportedCapabilities property > > LE Advertisement: > - New min/max interval properties > - New tx power property > > Reviewed-by: Sonny Sasaka > Reviewed-by: Alain Michaud > --- > > Changes in v6: None > Changes in v5: > - Changed interval API from jiffies to milliseconds for clarity > - Changed new dbus endpoints to be experimental > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > doc/advertising-api.txt | 48 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > > diff --git a/doc/advertising-api.txt b/doc/advertising-api.txt > index b0565eab2..541c57004 100644 > --- a/doc/advertising-api.txt > +++ b/doc/advertising-api.txt > @@ -138,6 +138,31 @@ Properties string Type > "2M" > "Coded" > > + uint32 MinInterval [Experimental] > + > + Minimum advertising interval to be used by the > + advertising set, in milliseconds. Acceptable values > + are in the range [20ms, 10,485s]. If the provided > + MinInterval is larger than the provided MaxInterval, > + the registration will return failure. > + > + uint32 MaxInterval [Experimental] > + > + Maximum advertising interval to be used by the > + advertising set, in milliseconds. Acceptable values > + are in the range [20ms, 10,485s]. If the provided > + MinInterval is larger than the provided MaxInterval, > + the registration will return failure. > + > + int16 TxPower [Experimental] > + > + Requested transmission power of this advertising set. > + The provided value is used only if the "CanSetTxPower" > + feature is enabled on the Advertising Manager. The > + provided value must be in range [-127 to +20], where > + units are in dBm. > + > + > LE Advertising Manager hierarchy > ================================ > > @@ -209,3 +234,26 @@ Properties byte ActiveInstances > Possible values: "1M" > "2M" > "Coded" > + > + dict SupportedCapabilities [Experimental] > + > + Enumerates Advertising-related controller capabilities > + useful to the client. > + > + Possible Values: > + > + byte MaxAdvLen > + > + Max advertising data length > + > + byte MaxScnRspLen > + > + Max advertising scan response length > + > + int16 MinTxPower > + > + Min advertising tx power (dBm) > + > + int16 MaxTxPower > + > + Max advertising tx power (dBm) > -- > 2.29.1.341.ge80a0c044ae-goog Applied, thanks. -- Luiz Augusto von Dentz