7 manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
8 "org.moblin.connman.Manager")
10 properties = manager.GetProperties()
12 for path in properties["Connections"]:
13 connection = dbus.Interface(bus.get_object("org.moblin.connman", path),
14 "org.moblin.connman.Connection")
16 properties = connection.GetProperties()
18 print "[ %s ]" % (path)
20 for key in properties.keys():
21 if key in ["Strength", "Priority"]:
22 val = int(properties[key])
24 val = str(properties[key])
25 print " %s = %s" % (key, val)