diff --git a/test/exchange-business-cards b/test/exchange-business-cards
index 9271fdf..6805cf7 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 = dbus.Interface(bus.get_object("org.bluez.obex", "/org/bluez/obex"),
"org.bluez.obex.Client")
if (len(sys.argv) < 4):
diff --git a/test/ftp-client b/test/ftp-client
index e1a051b..f604c25 100755
--- a/test/ftp-client
+++ b/test/ftp-client
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
- "org.bluez.obex.Client")
+ client = dbus.Interface(bus.get_object("org.bluez.obex",
+ "/org/bluez/obex"),
+ "org.bluez.obex.Client")
print "Creating Session"
path = client.CreateSession(options.device, { "Target": "ftp" })
diff --git a/test/get-obex-capabilities b/test/get-obex-capabilities
index 3fdf8e8..e8afbad 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 = dbus.Interface(bus.get_object("org.bluez.obex", "/org/bluez/obex"),
"org.bluez.obex.Client")
if (len(sys.argv) < 3):
diff --git a/test/list-folders b/test/list-folders
index 2203feb..7321a15 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", "/"),
- "org.bluez.obex.Client")
+ client = dbus.Interface(bus.get_object("org.bluez.obex",
+ "/org/bluez/obex"),
+ "org.bluez.obex.Client")
path = client.CreateSession(sys.argv[1], { "Target": "ftp" })
diff --git a/test/map-client b/test/map-client
index 9a9dff2..e29e6e4 100755
--- a/test/map-client
+++ b/test/map-client
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
- "org.bluez.obex.Client")
+ client = dbus.Interface(bus.get_object("org.bluez.obex",
+ "/org/bluez/obex"),
+ "org.bluez.obex.Client")
print "Creating Session"
path = client.CreateSession(options.device, { "Target": "map" })
diff --git a/test/opp-client b/test/opp-client
index cb0a683..b26a81c 100755
--- a/test/opp-client
+++ b/test/opp-client
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
- "org.bluez.obex.Client")
+ client = dbus.Interface(bus.get_object("org.bluez.obex",
+ "/org/bluez/obex"),
+ "org.bluez.obex.Client")
print "Creating Session"
path = client.CreateSession(options.device, { "Target": "OPP" })
diff --git a/test/pbap-client b/test/pbap-client
index ac7b28b..0a81cbc 100755
--- a/test/pbap-client
+++ b/test/pbap-client
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
- "org.bluez.obex.Client")
+ client = dbus.Interface(bus.get_object("org.bluez.obex",
+ "/org/bluez/obex"),
+ "org.bluez.obex.Client")
if (len(sys.argv) < 2):
print "Usage: %s <device>" % (sys.argv[0])
diff --git a/test/simple-obex-agent b/test/simple-obex-agent
index 1902082..3247079 100755
--- a/test/simple-obex-agent
+++ b/test/simple-obex-agent
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
bus = dbus.SessionBus()
- manager = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
+ manager = dbus.Interface(bus.get_object("org.bluez.obex",
+ "/org/bluez/obex"),
"org.bluez.obex.Manager")
bus.add_signal_receiver(new_transfer,
dbus_interface="org.bluez.obex.Manager",