diff options
author | Mikel Astiz <mikel.astiz@bmw-carit.de> | 2012-12-05 13:51:42 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-05 16:41:33 +0200 |
commit | a163324e1aa0adfd7d7155303f837b7a4f6bd58c (patch) | |
tree | 8d59c6938c0b67e2e1aec64ef66a41fc8f0ee4ad /test/test-health-sink | |
parent | 88b483b154cc14305417b47221a1681118ec0700 (diff) | |
download | bluez-a163324e1aa0adfd7d7155303f837b7a4f6bd58c.tar.gz |
dbus: Rename to org.bluez.Adapter1
Trivially add the numbering suffix to org.bluez.Adapter according to
the proposal for BlueZ 5.
Diffstat (limited to 'test/test-health-sink')
-rwxr-xr-x | test/test-health-sink | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-health-sink b/test/test-health-sink index a886d8593..a14f16ba3 100755 --- a/test/test-health-sink +++ b/test/test-health-sink @@ -28,7 +28,7 @@ objects = manager.GetManagedObjects() adapters = [] for path, ifaces in objects.iteritems(): - if ifaces.has_key("org.bluez.Adapter"): + if ifaces.has_key("org.bluez.Adapter1"): adapters.append(path) i = 1 @@ -50,7 +50,7 @@ while select == None: sys.exit() adapter = dbus.Interface(bus.get_object("org.bluez", select), - "org.bluez.Adapter") + "org.bluez.Adapter1") devices = adapter.GetProperties()["Devices"] |