[PATCH BlueZ] doc/obex-api: Add API for PBAP 1.2 features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

These changes add support for PBAP 1.2 features, the idea is that upon
connecting the stack will auto retrieve the DatabaseIdentifier which will
very likely be used by applications to detect if anything should be done.

In case DatabaseIdentifier is present the user application can then
request the folder version via GetVersion.

Two new filter are added, Operator which should be used along with FilterBy
and ResetNewMissedCalls the later can only be used in mch and cch folders.
---
 doc/obex-api.txt | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/doc/obex-api.txt b/doc/obex-api.txt
index 9542a30..f31d742 100644
--- a/doc/obex-api.txt
+++ b/doc/obex-api.txt
@@ -431,6 +431,14 @@ Methods		void Select(string location, string phonebook)
 			Possible errors: org.bluez.obex.Error.Forbidden
 					 org.bluez.obex.Error.Failed
 
+		uint16, uint16 GetVersion()
+
+			Return the primary and secondy folder version counters
+			for the selected phonebook.
+
+			Possible errors: org.bluez.obex.Error.Forbidden
+					 org.bluez.obex.Error.Failed
+
 		array{string} ListFilterFields()
 
 			Return All Available fields that can be used in Fields
@@ -465,6 +473,30 @@ Filter:		string Format:
 
 			Possible values can be query with ListFilterFields.
 
+		array{string} FilterBy:
+
+			Filter items by fields. Default do not filter by
+			fields.
+
+			Possible values can be query with ListFilterFields
+			excluding the first item that must be either '&' or
+			'|' that apply AND or OR logic respectively.
+
+		bool ResetNewMissedCalls
+
+			Reset new the missed calls items, shall only be used
+			for folders mch and cch.
+
+Properties	string Folder [readonly]
+
+			Current folder.
+
+		string DatabaseIdentifier [readonly]
+
+			128 bits persistent identifier.
+
+			Value '0' shall be considered as not supported.
+
 
 Synchronization hierarchy
 =========================
-- 
1.9.3

--
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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux