7 manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
8 "org.moblin.connman.Manager")
10 elements = manager.ListElements()
13 element = dbus.Interface(bus.get_object("org.moblin.connman", path),
14 "org.moblin.connman.Element")
16 properties = element.GetProperties()
18 if (properties["Type"] == "device"):
19 print "[ %s ]" % (path)
21 if (properties["Type"] == "network"):
22 if (properties["Enabled"] == 1):
26 print " %s %s" % (state, properties["WiFi.Name"])