From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> --- test/exchange-business-cards | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/test/exchange-business-cards b/test/exchange-business-cards index 4abe426..aace07b 100755 --- a/test/exchange-business-cards +++ b/test/exchange-business-cards @@ -4,17 +4,16 @@ 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) < 4): print "Usage: %s <device> <clientfile> <file>" % (sys.argv[0]) sys.exit(1) print "Creating Session" -session_path = client.CreateSession(sys.argv[1], { "Target": "OPP" }) -opp = dbus.Interface(bus.get_object("org.openobex.client", - session_path), - "org.openobex.ObjectPush") +path = client.CreateSession(sys.argv[1], { "Target": "OPP" }) +opp = dbus.Interface(bus.get_object("org.bluez.obex.client", path), + "org.bluez.obex.ObjectPush") opp.ExchangeBusinessCards(sys.argv[2], sys.argv[3]) -- 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