summaryrefslogtreecommitdiff
path: root/test/test-health
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2012-12-05 13:51:42 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-05 16:41:33 +0200
commita163324e1aa0adfd7d7155303f837b7a4f6bd58c (patch)
tree8d59c6938c0b67e2e1aec64ef66a41fc8f0ee4ad /test/test-health
parent88b483b154cc14305417b47221a1681118ec0700 (diff)
downloadbluez-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')
-rwxr-xr-xtest/test-health4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-health b/test/test-health
index 9d2f62f25..e0f95a6ff 100755
--- a/test/test-health
+++ b/test/test-health
@@ -138,7 +138,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
@@ -160,7 +160,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"]