summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-06-05 13:12:00 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-06-05 15:53:19 +0300
commita568298de7874d5a35c37cf77027b8c46439db04 (patch)
tree45e0b60f350caa005b34007d950415fd1457df64
parent9c5a04efad438004651ac684d376d1dfbb707d84 (diff)
downloadobexd-a568298de7874d5a35c37cf77027b8c46439db04.tar.gz
test: Use org.bluez.obex namespace in get-capabilities script
-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()