diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/cancel-sms | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/cancel-sms b/test/cancel-sms new file mode 100755 index 00000000..c5ef5070 --- /dev/null +++ b/test/cancel-sms @@ -0,0 +1,15 @@ +#!/usr/bin/python3 + +import sys +import dbus + +bus = dbus.SystemBus() + +manager = dbus.Interface(bus.get_object('org.ofono', '/'), + 'org.ofono.Manager') + +path = sys.argv[1] +message = dbus.Interface(bus.get_object('org.ofono', path), + 'org.ofono.Message') + +message.Cancel() |