linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH v2 4/9] doc/advertising-api: Add Data property
Date: Wed,  2 May 2018 12:24:37 +0300	[thread overview]
Message-ID: <20180502092442.10567-4-luiz.dentz@gmail.com> (raw)
In-Reply-To: <20180502092442.10567-1-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Data property can be used to add advertising data with arbitrary/profile
specific type.
---
 doc/advertising-api.txt | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/doc/advertising-api.txt b/doc/advertising-api.txt
index 15e64d38a..eef98ad91 100644
--- a/doc/advertising-api.txt
+++ b/doc/advertising-api.txt
@@ -61,6 +61,23 @@ Properties	string Type
 			Service Data elements to include. The keys are the
 			UUID to associate with the data.
 
+		dict Data [Experimental]
+
+			Advertising Type to include in the Advertising
+			Data. Key is the advertising type and value is the
+			data as byte array.
+
+			Note: Types already handled by other properties shall
+			not be used.
+
+			Possible values:
+				<type> <byte array>
+				...
+
+			Example:
+				<Transport Discovery> <Organization Flags...>
+				0x26                   0x01         0x01...
+
 		array{string} Includes
 
 			List of features to be included in the advertising
-- 
2.14.3


  parent reply	other threads:[~2018-05-02  9:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-02  9:24 [PATCH v2 1/9] shared/ad: Add support for arbritary type Luiz Augusto von Dentz
2018-05-02  9:24 ` [PATCH v2 2/9] doc/device-api: Add AdvertisingData property Luiz Augusto von Dentz
2018-05-02  9:24 ` [PATCH v2 3/9] device: Add implementation of AdvertisingData Luiz Augusto von Dentz
2018-05-02  9:24 ` Luiz Augusto von Dentz [this message]
2018-05-02  9:24 ` [PATCH v2 5/9] advertising: Add Data implementation Luiz Augusto von Dentz
2018-05-02  9:24 ` [PATCH v2 6/9] monitor: Add support for Transport Discovery AD Luiz Augusto von Dentz
2018-05-02  9:24 ` [PATCH v2 7/9] client: Add support for setting advertising Data property Luiz Augusto von Dentz
2018-05-02  9:24 ` [PATCH v2 8/9] client: Make info command print Advertising{Flags,Data} Luiz Augusto von Dentz
2018-05-02  9:24 ` [PATCH v2 9/9] test/example-advertisement: Add Data property Luiz Augusto von Dentz
2018-05-03  5:39 ` [PATCH v2 1/9] shared/ad: Add support for arbritary type 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=20180502092442.10567-4-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.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).