summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-04-10 14:41:00 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2013-05-10 14:56:25 +0300
commitb5afba21818acfa7f001966c51e3dca54d6d9f2a (patch)
treef12cf059df5f4645e342d649f01040f86d7e4810 /doc
parent071f1e6055b469a156a558ad25c40203cb3eaf62 (diff)
obexd: Fix using the same prefix for client and server sessions
This avoids using the same path for different sessions which fail since it cannot register a second time causing an unexpected error.
Diffstat (limited to 'doc')
-rw-r--r--doc/obex-api.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/obex-api.txt b/doc/obex-api.txt
index 759c4d81f..22449c4ca 100644
--- a/doc/obex-api.txt
+++ b/doc/obex-api.txt
@@ -44,7 +44,8 @@ Session hierarchy
Service org.bluez.obex
Interface org.bluez.obex.Session1
-Object path /org/bluez/obex/session{0, 1, 2, ...}
+Object path /org/bluez/obex/server/session{0, 1, 2, ...} or
+ /org/bluez/obex/client/session{0, 1, 2, ...}
Methods string GetCapabilities()
@@ -79,7 +80,7 @@ Transfer hierarchy
Service org.bluez.obex
Interface org.bluez.obex.Transfer1
-Object path /org/bluez/obex/session{0, 1, 2, ...}/transfer{0, 1, 2, ...}
+Object path [Session object path]/transfer{0, 1, 2, ...}
Methods void Cancel()
@@ -141,7 +142,7 @@ Object Push hierarchy
Service org.bluez.obex
Interface org.bluez.obex.ObjectPush1
-Object path /org/bluez/obex/session{0, 1, 2, ...}
+Object path [Session object path]
Methods object, dict SendFile(string sourcefile)
@@ -201,7 +202,7 @@ File Transfer hierarchy
Service org.bluez.obex
Interface org.bluez.obex.FileTransfer
-Object path /org/bluez/obex/session{0, 1, 2, ...}
+Object path [Session object path]
Methods void ChangeFolder(string folder)
@@ -298,7 +299,7 @@ Phonebook Access hierarchy
Service org.bluez.obex
Interface org.bluez.obex.PhonebookAccess1
-Object path /org/bluez/obex/session{0, 1, 2, ...}
+Object path [Session object path]
Methods void Select(string location, string phonebook)
@@ -448,7 +449,7 @@ Synchronization hierarchy
Service org.bluez.obex
Interface org.bluez.obex.Synchronization1
-Object path /org/bluez/obex/session{0, 1, 2, ...}
+Object path [Session object path]
Methods void SetLocation(string location)
@@ -503,7 +504,7 @@ Message Access hierarchy
Service org.bluez.obex
Interface org.bluez.obex.MessageAccess1
-Object path [variable prefix]/{session0,session1,...}
+Object path [Session object path]
Methods void SetFolder(string name)
@@ -715,7 +716,7 @@ Message hierarchy
Service org.bluez.obex
Interface org.bluez.obex.Message1
-Object path [variable prefix]/{session0,session1,...}/{message0,...}
+Object path [Session object path]/{message0,...}
Methods object, dict Get(string targetfile, boolean attachment)