7 manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"),
8 'org.moblin.connman.Manager')
10 properties = manager.GetProperties()
12 for path in properties["Devices"]:
13 device = dbus.Interface(bus.get_object('org.moblin.connman', path),
14 'org.moblin.connman.Device')
16 properties = device.GetProperties()
18 print "[ %s ]" % (path)
20 if (properties["Type"] == "wifi"):
21 print " Started WiFi scanning"
23 elif (properties["Type"] == "wimax"):
24 print " Started WiMAX scanning"