Diff between fc09df3af54e156cdbd8f6334382bc6b8e543ace and 939cebb9f363dc8e7048b05273bdaa87d111c46b

Changed Files

File Additions Deletions Status
doc/obex-client-api.txt +0 -46 modified
doc/obexd-api.txt +46 -0 modified
obexd/client/sync.c +1 -1 modified

Full Patch

diff --git a/doc/obex-client-api.txt b/doc/obex-client-api.txt
index b73d0d0..dc92d65 100644
--- a/doc/obex-client-api.txt
+++ b/doc/obex-client-api.txt
@@ -4,52 +4,6 @@ OBEX client API description
 Copyright (C) 2007-2010  Marcel Holtmann <marcel@holtmann.org>
 Copyright (C) 2011-2012  BMW Car IT GmbH. All rights reserved.
 
-Synchronization hierarchy
-=======================
-
-Service		org.bluez.obex
-Interface	org.bluez.obex.Synchronization
-Object path	[variable prefix]/{session0,session1,...}
-
-Methods		void SetLocation(string location)
-
-			Set the phonebook object store location for other
-			operations. Should be called before all the other
-			operations.
-
-			location: Where the phonebook is stored, possible
-			values:
-				"INT" ( "INTERNAL" which is default )
-				"SIM1"
-				"SIM2"
-				......
-
-		object, dict GetPhonebook(string targetfile)
-
-			Retrieve an entire Phonebook Object store from remote
-			device, and stores it in a local file.
-
-			If an empty target file is given, a name will be
-			automatically calculated for the temporary file.
-
-			The returned path represents the newly created transfer,
-			which should be used to find out if the content has been
-			successfully transferred or if the operation fails.
-
-			The properties of this transfer are also returned along
-			with the object path, to avoid a call to GetProperties.
-
-		object, dict PutPhonebook(string sourcefile)
-
-			Send an entire Phonebook Object store to remote device.
-
-			The returned path represents the newly created transfer,
-			which should be used to find out if the content has been
-			successfully transferred or if the operation fails.
-
-			The properties of this transfer are also returned along
-			with the object path, to avoid a call to GetProperties.
-
 Message Access hierarchy
 =========================
 
diff --git a/doc/obexd-api.txt b/doc/obexd-api.txt
index c70a7cd..1b4c250 100644
--- a/doc/obexd-api.txt
+++ b/doc/obexd-api.txt
@@ -377,3 +377,49 @@ Filter:		string Format:
 			Item vcard fields, default is all values.
 
 			Possible values can be query with ListFilterFields.
+
+Synchronization hierarchy
+=======================
+
+Service		org.bluez.obex
+Interface	org.bluez.obex.Synchronization1
+Object path	/org/bluez/obex/session{0, 1, 2, ...}
+
+Methods		void SetLocation(string location)
+
+			Set the phonebook object store location for other
+			operations. Should be called before all the other
+			operations.
+
+			location: Where the phonebook is stored, possible
+			values:
+				"INT" ( "INTERNAL" which is default )
+				"SIM1"
+				"SIM2"
+				......
+
+		object, dict GetPhonebook(string targetfile)
+
+			Retrieve an entire Phonebook Object store from remote
+			device, and stores it in a local file.
+
+			If an empty target file is given, a name will be
+			automatically calculated for the temporary file.
+
+			The returned path represents the newly created transfer,
+			which should be used to find out if the content has been
+			successfully transferred or if the operation fails.
+
+			The properties of this transfer are also returned along
+			with the object path, to avoid a call to GetProperties.
+
+		object, dict PutPhonebook(string sourcefile)
+
+			Send an entire Phonebook Object store to remote device.
+
+			The returned path represents the newly created transfer,
+			which should be used to find out if the content has been
+			successfully transferred or if the operation fails.
+
+			The properties of this transfer are also returned along
+			with the object path, to avoid a call to GetProperties.
diff --git a/obexd/client/sync.c b/obexd/client/sync.c
index d70706a..1c9a5f9 100644
--- a/obexd/client/sync.c
+++ b/obexd/client/sync.c
@@ -42,7 +42,7 @@
 #define OBEX_SYNC_UUID "IRMC-SYNC"
 #define OBEX_SYNC_UUID_LEN 9
 
-#define SYNC_INTERFACE "org.bluez.obex.Synchronization"
+#define SYNC_INTERFACE "org.bluez.obex.Synchronization1"
 #define ERROR_INF SYNC_INTERFACE ".Error"
 #define SYNC_UUID "00001104-0000-1000-8000-00805f9b34fb"