summaryrefslogtreecommitdiff
path: root/src/main.conf
diff options
context:
space:
mode:
authorMichaƂ Narajowski <michal.narajowski@codecoup.pl>2016-10-18 11:31:17 +0200
committerSzymon Janc <szymon.janc@codecoup.pl>2016-10-22 21:31:31 +0200
commit206bee144e2b7e3190677ffbf4f231dd2e728f5c (patch)
tree2d6000f3c81cd66a40d99b5ad4c817b454577de3 /src/main.conf
parentacbea9a0f7bda8b3d15aba20f211c32628556f2e (diff)
downloadbluez-206bee144e2b7e3190677ffbf4f231dd2e728f5c.tar.gz
core/adapter: Add support for enabling privacy
This adds support for loading local IRK key when adapter is configured. In case IRK is not present new key is generated and stored. In case of errors privacy is explicitly disabled. We ensure that we memset IRK to zero before disabling privacy. IRK is stored in %s/identity file. Privacy setting is configured globally in main.conf. In the future we may add per device configuration in %s/settings.
Diffstat (limited to 'src/main.conf')
-rw-r--r--src/main.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.conf b/src/main.conf
index 49528b931..d9cd9e0ce 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -64,6 +64,13 @@
# 'false'.
#FastConnectable = false
+# Default privacy setting.
+# Enables use of private address.
+# Possible values: "off", "device", "network"
+# "network" option not supported currently
+# Defaults to "off"
+# Privacy = off
+
#[Policy]
#
# The ReconnectUUIDs defines the set of remote services that should try