summaryrefslogtreecommitdiff
path: root/test/get-capabilities
diff options
context:
space:
mode:
Diffstat (limited to 'test/get-capabilities')
-rwxr-xr-xtest/get-capabilities8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/get-capabilities b/test/get-capabilities
index 09e2d24..a06f2eb 100755
--- a/test/get-capabilities
+++ b/test/get-capabilities
@@ -4,8 +4,8 @@ import sys
import dbus
bus = dbus.SessionBus()
-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")
if (len(sys.argv) < 3):
print "Usage: %s <device> <target>" % (sys.argv[0])
@@ -13,7 +13,7 @@ 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.openobex.client", session_path),
- "org.openobex.Session")
+session = dbus.Interface(bus.get_object("org.bluez.obex.client", session_path),
+ "org.bluez.obex.Session")
print session.GetCapabilities()