7 manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
8 "org.moblin.connman.Manager")
10 properties = manager.GetProperties()
12 active = properties["ActiveProfile"]
14 for path in properties["Profiles"]:
16 print "[ %s ] <== active" % (path)
18 print "[ %s ]" % (path)
20 profile = dbus.Interface(bus.get_object("org.moblin.connman", path),
21 "org.moblin.connman.Profile")
23 properties = profile.GetProperties()
24 for key in properties.keys():
25 if key in ["Services"]:
27 for path in properties["Services"]:
29 list = list + val[val.rfind("/") + 1:] + " "
30 print " Services = [ %s]" % (list)
32 print " %s = %s" % (key, properties[key])