summaryrefslogtreecommitdiff
path: root/doc/device-api.txt
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2017-12-11 10:07:48 +0100
committerSzymon Janc <szymon.janc@codecoup.pl>2017-12-19 12:59:19 +0100
commit2a225e92de904c2a31d51707e93b3da2ef79ae88 (patch)
treef841c5cc98ff6dea540929232deb60e118697d9e /doc/device-api.txt
parent557d6368f91e58f1e27543f336dc5d08ec033884 (diff)
downloadbluez-2a225e92de904c2a31d51707e93b3da2ef79ae88.tar.gz
Add AddressType property for Adapter1 and Device1 interfaces
This provides information about address type being used. It is needed for L2CAP sockets and PTS testing purposes.
Diffstat (limited to 'doc/device-api.txt')
-rw-r--r--doc/device-api.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 8b69c2ef3..1b448eef1 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -124,6 +124,19 @@ Properties string Address [readonly]
The Bluetooth device address of the remote device.
+ string AddressType [readonly]
+
+ The Bluetooth device Address Type. For dual-mode and
+ BR/EDR only devices this defaults to "public". Single
+ mode LE devices may have either value. If remote device
+ uses privacy than before pairing this represents address
+ type used for connection and Identity Address after
+ pairing.
+
+ Possible values:
+ "public" - Public address
+ "random" - Random address
+
string Name [readonly, optional]
The Bluetooth remote name. This value can not be