diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-03-14 21:57:50 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-03-14 21:57:50 +0000 |
commit | ecebc8ccbdb75f8924648c640accdb8182c65182 (patch) | |
tree | cacc2b51dee163812179a18c9666f7fa40a394a2 | |
parent | 94a757fea37ba19b3dec1a3318f49d667394f6eb (diff) |
Use the new root path for the manager object
-rwxr-xr-x | hcid/test-adapter | 3 | ||||
-rwxr-xr-x | hcid/test-device | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/hcid/test-adapter b/hcid/test-adapter index 9887451e..c7540d32 100755 --- a/hcid/test-adapter +++ b/hcid/test-adapter @@ -5,8 +5,7 @@ import dbus bus = dbus.SystemBus() -manager = dbus.Interface(bus.get_object('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') 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') |