mirror of git://git.sysmocom.de/ofono
Test: Show id of the modem being enabled/disabled
This commit is contained in:
parent
c26619539d
commit
ef75a79458
|
@ -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')
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue