SDP records shouls be saved in device file located in cache directory, as we cannot guarantee that this info is available always and profiles should work even if the info is not there. --- doc/settings-storage.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt index a43b7af..792c899 100644 --- a/doc/settings-storage.txt +++ b/doc/settings-storage.txt @@ -115,13 +115,23 @@ Sample: Cache directory file format ============================ -Each file, named by remote device address, contains one [General] group. -This general group contains: +Each file, named by remote device address, may includes multiple groups +(General and ServiceRecords). + +In ServiceRecords, SDP records are stored using their handle as key +(hexadecimal format). + +[General] group contains: Name String Remote device friendly name ShortName String Remote device shortened name +[ServiceRecords] group contains + + <0x...> String SDP record as hexadecimal encoded + string + Info file format ================ -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html