Diff between 0cac99fe837fd927e4990bc724813f75e036e353 and 35990b8bdd577081a581f1ae865bccc439cc5311

Changed Files

File Additions Deletions Status
doc/obex-client-api.txt +0 -32 modified
doc/obexd-api.txt +31 -0 modified
obexd/client/manager.c +1 -1 modified

Full Patch

diff --git a/doc/obex-client-api.txt b/doc/obex-client-api.txt
index b44cb28..7c8de16 100644
--- a/doc/obex-client-api.txt
+++ b/doc/obex-client-api.txt
@@ -4,38 +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.
 
-
-Client hierarchy
-================
-
-Service		org.bluez.obex
-Interface	org.bluez.obex.Client
-Object path	/org/bluez/obex
-
-Methods		object CreateSession(string destination, dict args)
-
-			Create a new OBEX session for the given remote address.
-
-			The last parameter is a dictionary to hold optional or
-			type-specific parameters. Typical parameters that can
-			be set in this dictionary include the following:
-
-				string "Target" : type of session to be created
-				string "Source" : local address to be used
-				byte "Channel"
-
-			The currently supported targets are the following:
-
-				"FTP"
-				"MAP"
-				"OPP"
-				"PBAP"
-				"SYNC"
-
-		void RemoveSession(object session)
-
-			Unregister session and abort pending transfers.
-
 Session hierarchy
 =================
 
diff --git a/doc/obexd-api.txt b/doc/obexd-api.txt
index 24af233..3b77e74 100644
--- a/doc/obexd-api.txt
+++ b/doc/obexd-api.txt
@@ -28,6 +28,37 @@ Methods		void RegisterAgent(object agent)
 
 			Possible errors: org.bluez.obex.Error.DoesNotExist
 
+Manager hierarchy
+================
+
+Service		org.bluez.obex
+Interface	org.bluez.obex.Client1
+Object path	/org/bluez/obex
+
+Methods		object CreateSession(string destination, dict args)
+
+			Create a new OBEX session for the given remote address.
+
+			The last parameter is a dictionary to hold optional or
+			type-specific parameters. Typical parameters that can
+			be set in this dictionary include the following:
+
+				string "Target" : type of session to be created
+				string "Source" : local address to be used
+				byte "Channel"
+
+			The currently supported targets are the following:
+
+				"FTP"
+				"MAP"
+				"OPP"
+				"PBAP"
+				"SYNC"
+
+		void RemoveSession(object session)
+
+			Unregister session and abort pending transfers.
+
 Transfer hierarchy
 ===============
 
diff --git a/obexd/client/manager.c b/obexd/client/manager.c
index 947068d..8f62a30 100644
--- a/obexd/client/manager.c
+++ b/obexd/client/manager.c
@@ -46,7 +46,7 @@
 #include "map.h"
 #include "obexd/src/manager.h"
 
-#define CLIENT_INTERFACE	"org.bluez.obex.Client"
+#define CLIENT_INTERFACE	"org.bluez.obex.Client1"
 #define ERROR_INTERFACE		"org.bluez.obex.Error"
 #define CLIENT_PATH		"/org/bluez/obex"