summaryrefslogtreecommitdiffstats
path: root/test/send-sms
diff options
context:
space:
mode:
Diffstat (limited to 'test/send-sms')
-rwxr-xr-xtest/send-sms5
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')