summaryrefslogtreecommitdiff
path: root/test/exchange-business-cards
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-18 21:25:56 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-18 21:25:56 +0100
commit1bbe30a9af324ffb238201d512c879b322939041 (patch)
tree7dd86a2145bbb200d1f5f61ff76a053f80efc1f9 /test/exchange-business-cards
parent7a76bc0d09db7aa90c587617dc6bd52ad5a2807e (diff)
downloadbluez-1bbe30a9af324ffb238201d512c879b322939041.tar.gz
test: Update to new org.bluez.obex service name
Diffstat (limited to 'test/exchange-business-cards')
-rwxr-xr-xtest/exchange-business-cards4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exchange-business-cards b/test/exchange-business-cards
index aace07b65..9271fdf8f 100755
--- a/test/exchange-business-cards
+++ b/test/exchange-business-cards
@@ -4,7 +4,7 @@ import sys
import dbus
bus = dbus.SessionBus()
-client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
"org.bluez.obex.Client")
if (len(sys.argv) < 4):
@@ -13,7 +13,7 @@ if (len(sys.argv) < 4):
print "Creating Session"
path = client.CreateSession(sys.argv[1], { "Target": "OPP" })
-opp = dbus.Interface(bus.get_object("org.bluez.obex.client", path),
+opp = dbus.Interface(bus.get_object("org.bluez.obex", path),
"org.bluez.obex.ObjectPush")
opp.ExchangeBusinessCards(sys.argv[2], sys.argv[3])