summaryrefslogtreecommitdiffstats
path: root/hcid/test-device
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-03-14 21:57:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-03-14 21:57:50 +0000
commitecebc8ccbdb75f8924648c640accdb8182c65182 (patch)
treecacc2b51dee163812179a18c9666f7fa40a394a2 /hcid/test-device
parent94a757fea37ba19b3dec1a3318f49d667394f6eb (diff)
Use the new root path for the manager object
Diffstat (limited to 'hcid/test-device')
-rwxr-xr-xhcid/test-device3
1 files changed, 1 insertions, 2 deletions
diff --git a/hcid/test-device b/hcid/test-device
index 034a9c6f..1786d063 100755
--- a/hcid/test-device
+++ b/hcid/test-device
@@ -5,8 +5,7 @@ import dbus
bus = dbus.SystemBus()
-manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'),
- 'org.bluez.Manager')
+manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.bluez.Manager')
adapter = dbus.Interface(bus.get_object('org.bluez', manager.DefaultAdapter()),
'org.bluez.Adapter')