Test: Show id of the modem being enabled/disabled

This commit is contained in:
João Paulo Rechi Vita 2010-02-24 16:14:25 -03:00 committed by Denis Kenzior
parent c26619539d
commit ef75a79458
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ else:
properties = manager.GetProperties()
path = properties["Modems"][0]
print "Disconnecting modem %s..." % path
modem = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.Modem')

View File

@ -13,6 +13,7 @@ else:
properties = manager.GetProperties()
path = properties["Modems"][0]
print "Connecting modem %s..." % path
modem = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.Modem')