diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-06-05 13:10:54 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-06-05 13:41:57 +0300 |
commit | fff05e944e2cdc3a58e2ab87be41aa6ea2e9ed88 (patch) | |
tree | d0779b3e8fbef013306786fcecc852e049974540 | |
parent | bd9a86190f0c6cf65d264cb9302df2fe0a3e26ec (diff) | |
download | obexd-fff05e944e2cdc3a58e2ab87be41aa6ea2e9ed88.tar.gz |
test: Use org.bluez.obex namespace in map-client script
-rwxr-xr-x | test/map-client | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/map-client b/test/map-client index d66cb9f..ca8e478 100755 --- a/test/map-client +++ b/test/map-client @@ -38,14 +38,14 @@ if __name__ == '__main__': bus = dbus.SessionBus() mainloop = gobject.MainLoop() - client = dbus.Interface(bus.get_object("org.openobex.client", "/"), - "org.openobex.Client") + client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"), + "org.bluez.obex.Client") path = client.CreateSession(options.device, { "Target": "map" }) - obj = bus.get_object("org.openobex.client", path) - session = dbus.Interface(obj, "org.openobex.Session") - map = dbus.Interface(obj, "org.openobex.MessageAccess") + obj = bus.get_object("org.bluez.obex.client", path) + session = dbus.Interface(obj, "org.bluez.obex.Session") + map = dbus.Interface(obj, "org.bluez.obex.MessageAccess") if options.new_dir: set_folder(map, options.new_dir) |