diff --git a/test/exchange-business-cards b/test/exchange-business-cards
index aace07b..9271fdf 100755
--- a/test/exchange-business-cards
+++ b/test/exchange-business-cards
import dbus
bus = dbus.SessionBus()
-client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
if (len(sys.argv) < 4):
print "Creating Session"
path = client.CreateSession(sys.argv[1], { "Target": "OPP" })
-opp = dbus.Interface(bus.get_object("org.bluez.obex.client", path),
+opp = dbus.Interface(bus.get_object("org.bluez.obex", path),
"org.bluez.obex.ObjectPush")
opp.ExchangeBusinessCards(sys.argv[2], sys.argv[3])
diff --git a/test/ftp-client b/test/ftp-client
index 064a81a..e1a051b 100755
--- a/test/ftp-client
+++ b/test/ftp-client
self.transfer_size = 0
self.verbose = verbose
bus = dbus.SessionBus()
- obj = bus.get_object("org.bluez.obex.client", session_path)
+ obj = bus.get_object("org.bluez.obex", session_path)
self.session = dbus.Interface(obj, "org.bluez.obex.Session")
self.ftp = dbus.Interface(obj, "org.bluez.obex.FileTransfer")
bus.add_signal_receiver(self.transfer_complete,
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+ client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
print "Creating Session"
diff --git a/test/get-obex-capabilities b/test/get-obex-capabilities
index a06f2eb..3fdf8e8 100755
--- a/test/get-obex-capabilities
+++ b/test/get-obex-capabilities
import dbus
bus = dbus.SessionBus()
-client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
if (len(sys.argv) < 3):
print "Creating Session"
session_path = client.CreateSession(sys.argv[1], { "Target": sys.argv[2] })
-session = dbus.Interface(bus.get_object("org.bluez.obex.client", session_path),
+session = dbus.Interface(bus.get_object("org.bluez.obex", session_path),
"org.bluez.obex.Session")
print session.GetCapabilities()
diff --git a/test/list-folders b/test/list-folders
index ecd456c..2203feb 100755
--- a/test/list-folders
+++ b/test/list-folders
def list_folder(folder):
bus = dbus.SessionBus()
- client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+ client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
path = client.CreateSession(sys.argv[1], { "Target": "ftp" })
- ftp = dbus.Interface(bus.get_object("org.bluez.obex.client", path),
+ ftp = dbus.Interface(bus.get_object("org.bluez.obex", path),
"org.bluez.obex.FileTransfer")
if folder:
diff --git a/test/map-client b/test/map-client
index 39dd79f..9a9dff2 100755
--- a/test/map-client
+++ b/test/map-client
self.verbose = verbose
self.path = session_path
bus = dbus.SessionBus()
- obj = bus.get_object("org.bluez.obex.client", session_path)
+ obj = bus.get_object("org.bluez.obex", session_path)
self.session = dbus.Interface(obj, "org.bluez.obex.Session")
self.map = dbus.Interface(obj, "org.bluez.obex.MessageAccess")
bus.add_signal_receiver(self.transfer_complete,
def get_message(self, handle):
self.map.ListMessages("", dict())
path = self.path + "/message" + handle
- obj = bus.get_object("org.bluez.obex.client", path)
+ obj = bus.get_object("org.bluez.obex", path)
msg = dbus.Interface(obj, "org.bluez.obex.Message")
msg.Get("", True, reply_handler=self.create_transfer_reply,
error_handler=self.error)
def get_message_properties(self, handle):
self.map.ListMessages("", dict())
path = self.path + "/message" + handle
- obj = bus.get_object("org.bluez.obex.client", path)
+ obj = bus.get_object("org.bluez.obex", path)
msg = dbus.Interface(obj, "org.freedesktop.DBus.Properties")
ret = msg.GetAll("org.bluez.obex.Message")
print pformat(unwrap(ret))
def set_message_property(self, handle, prop, flag):
self.map.ListMessages("", dict())
path = self.path + "/message" + handle
- obj = bus.get_object("org.bluez.obex.client", path)
+ obj = bus.get_object("org.bluez.obex", path)
msg = dbus.Interface(obj, "org.bluez.obex.Message")
msg.SetProperty (prop, flag);
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+ client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
print "Creating Session"
diff --git a/test/opp-client b/test/opp-client
index 3d23dfb..cb0a683 100755
--- a/test/opp-client
+++ b/test/opp-client
self.transfer_path = None
self.verbose = verbose
bus = dbus.SessionBus()
- obj = bus.get_object("org.bluez.obex.client", session_path)
+ obj = bus.get_object("org.bluez.obex", session_path)
self.session = dbus.Interface(obj, "org.bluez.obex.Session")
self.opp = dbus.Interface(obj, "org.bluez.obex.ObjectPush")
bus.add_signal_receiver(self.transfer_complete,
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+ client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
print "Creating Session"
diff --git a/test/pbap-client b/test/pbap-client
index 7be8bad..ac7b28b 100755
--- a/test/pbap-client
+++ b/test/pbap-client
self.props = dict()
self.flush_func = None
bus = dbus.SessionBus()
- obj = bus.get_object("org.bluez.obex.client", session_path)
+ obj = bus.get_object("org.bluez.obex", session_path)
self.session = dbus.Interface(obj, "org.bluez.obex.Session")
self.pbap = dbus.Interface(obj,
"org.bluez.obex.PhonebookAccess")
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+ client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
if (len(sys.argv) < 2):