From: Szymon Janc <szymon.janc@codecoup.pl>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [RFC] doc/advertising-api: Add Flags property
Date: Mon, 07 May 2018 10:33:17 +0200 [thread overview]
Message-ID: <3965092.rnYZXRLaLl@ix> (raw)
In-Reply-To: <20180507082409.30018-1-luiz.dentz@gmail.com>
Hi Luiz,
On Monday, 7 May 2018 10:24:09 CEST Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> This adds Flags which the application can use in case it want to set
> it own flags.
>
> Note: This would allow for example an application to advertise as
> discoverable even if the adapter is not discoverable which may be
> required by dual-mode as it may not require BR/EDR to be discoverable.
> ---
> doc/advertising-api.txt | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/doc/advertising-api.txt b/doc/advertising-api.txt
> index eef98ad91..234f9c2f2 100644
> --- a/doc/advertising-api.txt
> +++ b/doc/advertising-api.txt
> @@ -78,6 +78,21 @@ Properties string Type
> <Transport Discovery> <Organization Flags...>
> 0x26 0x01 0x01...
>
> + byte Flags [Experimental]
> +
> + Advertising Flags to include. When present this will
> + override existing flags such as Discoverable.
> +
> + Note: This property shall not be set when Type is set
> + to broadcast.
> +
> + Possible value:
> + bit 0 - LE Limited Discoverable Mode
> + bit 1 - LE General Discoverable Mode
> + bit 2 - BR/EDR Not Supported
> + bit 3 - Simultaneous LE and BR/EDR (Controller)
> + bit 4 - Simultaneous LE and BR/EDR (Host)
> +
> array{string} Includes
>
> List of features to be included in the advertising
I'd make Flags array{byte} (just like Flags in Device1) to keep it future
proof.
--
pozdrawiam
Szymon Janc
next prev parent reply other threads:[~2018-05-07 8:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-07 8:24 [RFC] doc/advertising-api: Add Flags property Luiz Augusto von Dentz
2018-05-07 8:33 ` Szymon Janc [this message]
2018-05-07 9:29 ` Luiz Augusto von Dentz
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=3965092.rnYZXRLaLl@ix \
--to=szymon.janc@codecoup.pl \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.