doc/settings-storage: Add Endpoint group to cache
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 8 Jan 2019 13:56:13 +0000 (10:56 -0300)
committerhimanshu <h.himanshu@samsung.com>
Wed, 22 Jan 2020 11:12:11 +0000 (16:42 +0530)
This documents how A2DP endpoints should be stored in the cache.

Change-Id: Id84cd397f7b065cb25a308606bfe0cf75261dc4f
Signed-off-by: himanshu <h.himanshu@samsung.com>
doc/settings-storage.txt

index a0ec53f..5cfed46 100755 (executable)
@@ -169,7 +169,7 @@ Cache directory file format
 ============================
 
 Each file, named by remote device address, may includes multiple groups
-(General, ServiceRecords, Attributes).
+(General, ServiceRecords, Attributes, Endpoints).
 
 In ServiceRecords, SDP records are stored using their handle as key
 (hexadecimal format).
@@ -178,6 +178,9 @@ In "Attributes" group GATT database is stored using attribute handle as key
 (hexadecimal format). Value associated with this handle is serialized form of
 all data required to re-create given attribute. ":" is used to separate fields.
 
+In "Endpoints" group A2DP remote endpoints are stored using the seid as key
+(hexadecimal format) and ":" is used to separate fields.
+
 [General] group contains:
 
   Name         String          Remote device friendly name
@@ -221,6 +224,12 @@ Sample Attributes section:
   002b=2803:002c:02:00002a38-0000-1000-8000-00805f9b34fb
   002d=2803:002e:08:00002a39-0000-1000-8000-00805f9b34fb
 
+[Endpoints] group contains:
+
+       <xx>:<xx>:<xxxxxxxx...> String  First field is the endpoint type,
+                                       followed by codec type and its
+                                       capabilies as hexadecimal encoded
+                                       string.
 
 Info file format
 ================