[PATCH obexd 23/23 v2] test: Use org.bluez.obex namespace in get-capabilities script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

---
 test/get-capabilities |    8 ++++----
 1 file 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()
-- 
1.7.10.2

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux