10 pin_type = sys.argv[2]
12 elif len(sys.argv) == 3:
13 manager = dbus.Interface(bus.get_object('org.ofono', '/'),
15 modems = manager.GetModems()
17 pin_type = sys.argv[1]
20 print "%s [PATH] pin_type pin" % (sys.argv[0])
23 print "Unlock %s %s for modem %s..." % (pin_type, pin, path)
25 simmanager = dbus.Interface(bus.get_object('org.ofono', path),
26 'org.ofono.SimManager')
27 simmanager.UnlockPin(pin_type, pin)