linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [RFC 2/7] doc/device-api: Add AdvertisingData property
Date: Wed, 18 Apr 2018 16:19:12 +0200	[thread overview]
Message-ID: <B738AD8F-D0DA-4BFE-ADE9-9AEE08437D59@holtmann.org> (raw)
In-Reply-To: <20180418110502.13099-2-luiz.dentz@gmail.com>

Hi Luiz,

> This adds AdvertisingData which exposes data being advertised which is
> may be useful for profiles not handled by bluetoothd.
> ---
> doc/device-api.txt | 5 +++++
> 1 file changed, 5 insertions(+)
> 
> diff --git a/doc/device-api.txt b/doc/device-api.txt
> index 1b448eef1..f2f8464bc 100644
> --- a/doc/device-api.txt
> +++ b/doc/device-api.txt
> @@ -251,3 +251,8 @@ Properties	string Address [readonly]
> 		array{byte} AdvertisingFlags [readonly, experimental]
> 
> 			The Advertising Data Flags of the remote device.
> +
> +		dict AdvertisingData [readonly, experimental]
> +
> +			The Advertising Data of the remote device. Keys are
> +			are 8 bits AD Type followed by data as byte array.

this somehow needs to be explained on how a dict like that would look like. And also which AD types are _not_ valid here. Or at least not valid in conjunction with using other properties.

Regards

Marcel


  reply	other threads:[~2018-04-18 14:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-18 11:04 [RFC 1/7] shared/ad: Add support for arbritary type Luiz Augusto von Dentz
2018-04-18 11:04 ` [RFC 2/7] doc/device-api: Add AdvertisingData property Luiz Augusto von Dentz
2018-04-18 14:19   ` Marcel Holtmann [this message]
2018-04-18 14:44     ` Luiz Augusto von Dentz
2018-04-18 14:54       ` Marcel Holtmann
2018-04-18 11:04 ` [RFC 3/7] device: Add implementation of AdvertisingData Luiz Augusto von Dentz
2018-04-18 11:04 ` [RFC 4/7] doc/advertising-api: Add Data property Luiz Augusto von Dentz
2018-04-18 11:05 ` [RFC 5/7] advertising: Add Data implementation Luiz Augusto von Dentz
2018-04-18 11:05 ` [RFC 6/7] monitor: Add support for Transport Discovery AD Luiz Augusto von Dentz
2018-04-18 11:05 ` [RFC 7/7] client: Add support for setting advertising Data property 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=B738AD8F-D0DA-4BFE-ADE9-9AEE08437D59@holtmann.org \
    --to=marcel@holtmann.org \
    --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 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).