summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-10-08 08:42:56 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-10-08 08:42:56 +0000
commite3c231967270c94f9f147aab63be90e5c217fdaf (patch)
tree23b85639f2741d8146620ea94ad3e8c821c56084 /network
parent40bd7f5accc683091d836c3e820b1e05adbd7f06 (diff)
Allow PANU server and client connection
Diffstat (limited to 'network')
-rwxr-xr-xnetwork/test-network8
1 files changed, 7 insertions, 1 deletions
diff --git a/network/test-network b/network/test-network
index 3719deaa..f428c25f 100755
--- a/network/test-network
+++ b/network/test-network
@@ -25,7 +25,13 @@ except:
pass
try:
- panu = dbus.Interface(bus.get_object(conn, network.LastConnection()),
+ panu = dbus.Interface(bus.get_object(conn, network.FindServer('panu')),
+ 'org.bluez.network.Server')
+except:
+ pass
+
+try:
+ client = dbus.Interface(bus.get_object(conn, network.LastConnection()),
'org.bluez.network.Connection')
except:
pass