for path, properties in manager.GetServices():
service = dbus.Interface(bus.get_object("net.connman", path),
"net.connman.Service")
- print "[ %s ]" % (path)
+ identifier = path[path.rfind("/") + 1:]
+ print "[ %s ]" % (identifier)
for key in properties.keys():
if key in ["IPv4", "IPv4.Configuration",
"Ethernet", "Provider"]:
val = extract_values(properties[key])
elif key in ["Nameservers", "Nameservers.Configuration",
- "Domains", "Domains.Configuration",
- "Security"]:
+ "Domains", "Domains.Configuration",
+ "Timeservers", "Timeservers.Configuration",
+ "Security"]:
val = extract_list(properties[key])
elif key in ["Favorite", "Immutable", "AutoConnect",
"LoginRequired", "PassphraseRequired"]: