diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-09-09 14:37:37 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-09 14:38:14 -0500 |
commit | ba6db3af42efe2bcd85df536d1290487f9243d25 (patch) | |
tree | ea8b18188afaebe8c53a0b8811ef84886ba2abec /test/send-sms | |
parent | b24439ed7b21bafa8d8226d43cec92ecdcb79cc8 (diff) | |
download | ofono-ba6db3af42efe2bcd85df536d1290487f9243d25.tar.bz2 |
test: Update to the new Manager api
Diffstat (limited to 'test/send-sms')
-rwxr-xr-x | test/send-sms | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/send-sms b/test/send-sms index 229f35f7..2d68a329 100755 --- a/test/send-sms +++ b/test/send-sms @@ -8,9 +8,8 @@ bus = dbus.SystemBus() manager = dbus.Interface(bus.get_object('org.ofono', '/'), 'org.ofono.Manager') -properties = manager.GetProperties() - -path = properties["Modems"][0] +modems = manager.GetModems() +path = modems[0][0] manager = dbus.Interface(bus.get_object('org.ofono', path), 'org.ofono.MessageManager') |