diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2012-12-15 09:59:49 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-16 13:32:12 +0200 |
commit | 6776ddb293418d649a748c435036e41e75f1dd16 (patch) | |
tree | 87aea515ff83105e7b917c7c4a66240c9026c4c1 /doc/settings-storage.txt | |
parent | b53833b42420d4a178c893152ab5913bc5f821b1 (diff) | |
download | bluez-6776ddb293418d649a748c435036e41e75f1dd16.tar.gz |
adapter: Convert ccc file
Update settings-storage.txt documentation to add ccc file.
Diffstat (limited to 'doc/settings-storage.txt')
-rw-r--r-- | doc/settings-storage.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt index 11b127fd6..d1c3f4fb9 100644 --- a/doc/settings-storage.txt +++ b/doc/settings-storage.txt @@ -31,6 +31,8 @@ contains: contains: - an info file - an attributes file containing attributes of remote LE services + - a ccc file containing persistent Client Characteristic Configuration + (CCC) descriptor information for GATT characteristics So the directory structure is: /var/lib/bluetooth/<adapter address>/ @@ -43,6 +45,7 @@ So the directory structure is: ./<remote device address>/ ./info ./attributes + ./ccc ./<remote device address>/ ./info ./attributes @@ -114,6 +117,20 @@ Sample: UUID=00002a00-0000-1000-8000-00805f9b34fb Value=4578616D706C6520446576696365 +CCC file format +====================== + +The ccc file stores the current CCC descriptor values for GATT characteristics +which have notification/indication enabled by the remote device. + +Information is stored using CCC attribute handle as group name (in decimal +format). + +Each group contains: + + Value String CCC descriptor value encoded in + hexadecimal + Cache directory file format ============================ |