summaryrefslogtreecommitdiff
path: root/src/main.conf
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-11-01 15:01:04 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-11-01 21:37:23 -0700
commit7234c7394e781dce2d9324c439ecbad988102259 (patch)
tree156ea6ce47ade7a916678caab5a9cb7840b80008 /src/main.conf
parent28e85e549d75c2204bdf35a94749c8d2130de151 (diff)
downloadbluez-7234c7394e781dce2d9324c439ecbad988102259.tar.gz
main.conf: Fix Privacy modes
Device privacy 0x01 uses RPA regardless of the discoverable setting thus it conforms to network mode not device mode. Also this improves documentation to state what is the expectation of each mode since it may not have been very clear by just using the terms from the spec.
Diffstat (limited to 'src/main.conf')
-rw-r--r--src/main.conf10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.conf b/src/main.conf
index e05291d8e..4019ea903 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -67,8 +67,14 @@
# Default privacy setting.
# Enables use of private address.
-# Possible values: "off", "device", "network"
-# "network" option not supported currently
+# Possible values: "off", "network/on", "device/limited"
+# "network/on": a device will only accept advertising packets from peer devices
+# that contain private addresses. It may not be compatible with some legacy
+# devices since it requires the use of RPA(s) all the time.
+# "device/limited": A device in device privacy mode is only concerned about the
+# privacy of the device and will accept advertising packets from peer devices
+# that contain their Identity Address as well as ones that contain a private
+# address, even if the peer device has distributed its IRK in the past.
# Defaults to "off"
#Privacy = off