summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorYun-Hao Chung <howardchung@chromium.org>2021-08-03 19:43:17 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-08-04 15:01:33 -0700
commita337097749445670c416455012f3c160c668681d (patch)
tree88981346370aa1015a9b86600c583b7dfb1e6c0f /doc
parentb7a401feaf398d6e0d5a311111a75231d3c4604e (diff)
downloadbluez-a337097749445670c416455012f3c160c668681d.tar.gz
doc: add admin policy file storage description
This adds storage description of admin policy file in doc/settings-storage.txt
Diffstat (limited to 'doc')
-rw-r--r--doc/settings-storage.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt
index d21150f09..1d96cd66d 100644
--- a/doc/settings-storage.txt
+++ b/doc/settings-storage.txt
@@ -36,6 +36,7 @@ root, named based on the address, which contains:
- a settings file for the local adapter
- an attributes file containing attributes of supported LE services
+ - an admin policy file containing current values of admin policies
- a cache directory containing:
- one file per device, named by remote device address, which contains
device name
@@ -50,6 +51,7 @@ So the directory structure is:
/var/lib/bluetooth/<adapter address>/
./settings
./attributes
+ ./admin_policy_settings
./cache/
./<remote device address>
./<remote device address>
@@ -140,6 +142,24 @@ Sample:
Value=4578616D706C6520446576696365
+Admin Policy file format
+======================
+
+The admin policy file stores the current value of each admin policy.
+
+[General] group contains:
+
+ ServiceAllowlist List of List of service UUID allowed by
+ strings adapter in 128-bits format, separated
+ by ','. Default is empty.
+
+Sample:
+ [General]
+ ServiceAllowlist=
+
+
+
+
CCC file format
======================