7 manager = dbus.Interface(bus.get_object('org.freedesktop.connman', "/"),
8 'org.freedesktop.connman.Manager')
10 interfaces = manager.ListInterfaces()
12 for path in interfaces:
13 print "[ %s ]" % (path)
15 interface = dbus.Interface(bus.get_object('org.freedesktop.connman', path),
16 'org.freedesktop.connman.Interface')
18 properties = interface.GetProperties()
20 if (properties["Type"] == "80211"):
21 print " Started scanning"