-EXTRA_DIST = list-interfaces start-scanning simple-agent
+EXTRA_DIST = list-interfaces start-scanning simple-agent show-introspection
MAINTAINERCLEANFILES = Makefile.in
--- /dev/null
+#!/usr/bin/python
+
+import dbus
+
+bus = dbus.SystemBus()
+
+object = dbus.Interface(bus.get_object('org.freedesktop.connman', '/'),
+ 'org.freedesktop.DBus.Introspectable')
+
+print object.Introspect()
+
+manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"),
+ 'org.freedesktop.connman.Manager')
+
+interfaces = manager.ListInterfaces()
+
+for path in interfaces:
+ object = dbus.Interface(bus.get_object('org.freedesktop.connman', path),
+ 'org.freedesktop.DBus.Introspectable')
+
+ print object.Introspect()