From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Daniel Winkler <danielwinkler@google.com>
Cc: Luiz Augusto Von Dentz <luiz.von.dentz@intel.com>,
"linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>,
ChromeOS Bluetooth Upstreaming
<chromeos-bluetooth-upstreaming@chromium.org>,
Sonny Sasaka <sonnysasaka@chromium.org>,
Alain Michaud <alainm@chromium.org>
Subject: Re: [Bluez PATCH v6 01/10] doc/advertising-api: update API with new interface
Date: Thu, 29 Oct 2020 17:47:35 -0700 [thread overview]
Message-ID: <CABBYNZLqmmhjud_qW9amrtSH7XAS5mD-goT7H4bTAh-U9aG7Fw@mail.gmail.com> (raw)
In-Reply-To: <20201029160317.Bluez.v6.1.Ifaa96e71a871158e5d9d454073b2b6846eae339f@changeid>
Hi Daniel,
On Thu, Oct 29, 2020 at 4:09 PM Daniel Winkler <danielwinkler@google.com> 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 <sonnysasaka@chromium.org>
> Reviewed-by: Alain Michaud <alainm@chromium.org>
> ---
>
> 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
next prev parent reply other threads:[~2020-10-30 0:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-29 23:06 [Bluez PATCH v6 00/10] Bluetooth: Add new MGMT interface for advertising add Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 01/10] doc/advertising-api: update API with new interface Daniel Winkler
2020-10-30 0:47 ` Luiz Augusto von Dentz [this message]
2020-10-29 23:06 ` [Bluez PATCH v6 02/10] doc/mgmt-api: Add new Advertising MGMT interfaces to mgmt-api Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 03/10] doc/mgmt-api: Update controller capabilities MGMT command in mgmt-api Daniel Winkler
2020-11-09 12:49 ` Marcel Holtmann
2020-11-24 18:16 ` Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 04/10] advertising: Detect if extended advertising mgmt commands are supported Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 05/10] advertising: Parse intervals and tx power from adv Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 06/10] advertising: Use new mgmt interface for advertising add Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 07/10] advertising: Query LE TX range at manager initialization Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 08/10] advertising: Expose SupportedCapabilities for advertising Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 09/10] client: Add SupportedCapabilities to bluetoothctl Daniel Winkler
2020-10-29 23:06 ` [Bluez PATCH v6 10/10] monitor: Add new MGMT adv commands and events to monitor Daniel Winkler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABBYNZLqmmhjud_qW9amrtSH7XAS5mD-goT7H4bTAh-U9aG7Fw@mail.gmail.com \
--to=luiz.dentz@gmail.com \
--cc=alainm@chromium.org \
--cc=chromeos-bluetooth-upstreaming@chromium.org \
--cc=danielwinkler@google.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.von.dentz@intel.com \
--cc=sonnysasaka@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).