diff options
-rwxr-xr-x | test/exchange-business-cards | 2 | ||||
-rwxr-xr-x | test/ftp-client | 5 | ||||
-rwxr-xr-x | test/get-obex-capabilities | 2 | ||||
-rwxr-xr-x | test/list-folders | 5 | ||||
-rwxr-xr-x | test/map-client | 5 | ||||
-rwxr-xr-x | test/opp-client | 5 | ||||
-rwxr-xr-x | test/pbap-client | 5 | ||||
-rwxr-xr-x | test/simple-obex-agent | 3 |
8 files changed, 19 insertions, 13 deletions
diff --git a/test/exchange-business-cards b/test/exchange-business-cards index 9271fdf8f..6805cf71e 100755 --- a/test/exchange-business-cards +++ b/test/exchange-business-cards @@ -4,7 +4,7 @@ import sys 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 e1a051b5d..f604c25ea 100755 --- a/test/ftp-client +++ b/test/ftp-client @@ -151,8 +151,9 @@ if __name__ == '__main__': 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 3fdf8e835..e8afbad21 100755 --- a/test/get-obex-capabilities +++ b/test/get-obex-capabilities @@ -4,7 +4,7 @@ import sys 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 2203feb84..7321a1527 100755 --- a/test/list-folders +++ b/test/list-folders @@ -6,8 +6,9 @@ import dbus 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 9a9dff21c..e29e6e452 100755 --- a/test/map-client +++ b/test/map-client @@ -166,8 +166,9 @@ if __name__ == '__main__': 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 cb0a68396..b26a81c16 100755 --- a/test/opp-client +++ b/test/opp-client @@ -104,8 +104,9 @@ if __name__ == '__main__': 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 ac7b28ba3..0a81cbc73 100755 --- a/test/pbap-client +++ b/test/pbap-client @@ -98,8 +98,9 @@ if __name__ == '__main__': 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 19020820d..3247079e4 100755 --- a/test/simple-obex-agent +++ b/test/simple-obex-agent @@ -97,7 +97,8 @@ if __name__ == '__main__': 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", |