bus = dbus.SystemBus()
-manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
- "org.moblin.connman.Manager")
+manager = dbus.Interface(bus.get_object("net.connman", "/"),
+ "net.connman.Manager")
properties = manager.GetProperties()
def print_properties(key, value):
if key == "Profiles":
- interface = "org.moblin.connman.Profile"
+ interface = "net.connman.Profile"
elif key == "Services":
- interface = "org.moblin.connman.Service"
+ interface = "net.connman.Service"
elif key == "Technologies":
- interface = "org.moblin.connman.Technology"
+ interface = "net.connman.Technology"
else:
return
print "%s" % (key)
for path in value:
print " %s" % (path)
- obj = dbus.Interface(bus.get_object("org.moblin.connman", path),
+ obj = dbus.Interface(bus.get_object("net.connman", path),
interface)
properties = obj.GetProperties()