Only introspect devices
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2008 21:57:52 +0000 (22:57 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 3 Dec 2008 21:57:52 +0000 (22:57 +0100)
test/show-introspection

index 86faca1..bbf93c8 100755 (executable)
@@ -12,9 +12,9 @@ print object.Introspect()
 manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
                                        "org.moblin.connman.Manager")
 
-elements = manager.ListElements()
+properties = manager.GetProperties()
 
-for path in elements:
+for path in properties["Devices"]:
        object = dbus.Interface(bus.get_object("org.moblin.connman", path),
                                        "org.freedesktop.DBus.Introspectable")