linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@codecoup.pl>
To: linux-bluetooth@vger.kernel.org
Cc: Szymon Janc <szymon.janc@codecoup.pl>
Subject: [RFC 1/4] Add LEAddressType property for Adapter1 and Device1 interfaces
Date: Mon, 11 Dec 2017 11:38:34 +0100	[thread overview]
Message-ID: <20171211103837.25150-1-szymon.janc@codecoup.pl> (raw)

This provides information about LE Identity Address Type used. This
information is needed for L2CAP sockets and for PTS testing purposes.
---
 doc/adapter-api.txt | 9 +++++++++
 doc/device-api.txt  | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index d852aa6b9..b5abdda39 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -149,6 +149,15 @@ Properties	string Address [readonly]
 
 			The Bluetooth device address.
 
+		string LEAddressType [readonly, optional]
+
+			The Bluetooth device LE Identity Address Type. This is
+			present only if LE is supported by adapter.
+
+			Possible values:
+				"public" - Public address
+				"static" - Static Random address
+
 		string Name [readonly]
 
 			The Bluetooth system name (pretty hostname).
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 8b69c2ef3..dfeca305c 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -124,6 +124,15 @@ Properties	string Address [readonly]
 
 			The Bluetooth device address of the remote device.
 
+		string LEAddressType [readonly, optional]
+
+			The Bluetooth device LE Identity Address Type. This is
+			present only if device supports LE.
+
+			Possible values:
+				"public" - Public address
+				"static" - Static Random address
+
 		string Name [readonly, optional]
 
 			The Bluetooth remote name. This value can not be
-- 
2.14.3


             reply	other threads:[~2017-12-11 10:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-11 10:38 Szymon Janc [this message]
2017-12-11 10:38 ` [RFC 2/4] adapter: Add support for LEAddressType property Szymon Janc
2017-12-11 10:38 ` [RFC 3/4] device: " Szymon Janc
2017-12-11 10:38 ` [RFC 4/4] client: Print LEAddress type in show and info commands Szymon Janc
2017-12-11 12:10   ` Luiz Augusto von Dentz
2017-12-11 12:40     ` Szymon Janc
2017-12-13  8:50       ` Marcel Holtmann
2017-12-11 11:59 ` [RFC 1/4] Add LEAddressType property for Adapter1 and Device1 interfaces Luiz Augusto von Dentz
2017-12-11 12:40   ` Szymon Janc
2017-12-13  8:47 ` Marcel Holtmann

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=20171211103837.25150-1-szymon.janc@codecoup.pl \
    --to=szymon.janc@codecoup.pl \
    --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).