1
<?xml version="1.0" encoding="UTF-8" ?>
3
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
4
<interface name="org.freedesktop.ModemManager.Modem.Gsm.SMS">
9
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
10
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_delete"/>
11
<arg name="index" type="u" direction="in">
20
Retrieve an SMS from the SIM card.
22
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
23
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get"/>
24
<arg name="index" type="u" direction="in">
29
<arg name="sms" type="a{sv}" direction="out">
31
A dictionary containing SMS properties of the SMS specified by the given index. This dictionary may contain the following key/value pairs:
33
number : string - Phone number (mandatory)
34
text : string - SMS text (mandatory, empty if data cannot be decoded)
35
data : byte array - SMS user data (TP-UD) (mandatory)
36
data-coding-scheme: uint (0..255) - SMS user data coding scheme (TP-DCS) (mandatory)
37
smsc : string - SMS service center number (optional)
38
class : uint (0..3) - Message importance and location (optional)
39
completed: boolean - Whether all message parts have been received or not (optional)
40
index : uint - Index of message (for Get and Delete) (optional)
45
<method name="GetFormat">
46
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
47
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get_format"/>
48
<arg name="result" type="u" direction="out"/>
51
<method name="SetFormat">
52
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
53
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_format"/>
54
<arg name="format" type="u" direction="in"/>
57
<method name="GetSmsc">
58
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
59
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get_smsc"/>
60
<arg name="result" type="s" direction="out"/>
63
<method name="SetSmsc">
64
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
65
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_smsc"/>
66
<arg name="smsc" type="s" direction="in"/>
70
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
71
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_list"/>
72
<arg name="result" type="aa{sv}" direction="out"/>
76
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
77
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_save"/>
78
<arg name="properties" type="a{sv}" direction="in">
80
SMS properties to save with the following key values:
82
number : string - Phone number (mandatory)
83
text : string - SMS text (mandatory)
84
smsc : string - SMS service center number (optional)
85
relative-validity : uint - Minutes until the SMS expires in SMSC (optional)
86
class : uint (0..3) - Message importance and location (optional)
89
<arg name="index" type="au" direction="out"/>
93
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
94
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send"/>
95
<arg name="properties" type="a{sv}" direction="in">
97
SMS properties to save with the following key values:
99
number : string - Phone number (mandatory)
100
text : string - SMS text (mandatory)
101
smsc : string - SMS service center number (optional)
102
relative-validity : uint - Minutes until the SMS expires in SMSC (optional)
103
class : uint (0..3) - Message importance and location (optional)
106
<arg name="result" type="au" direction="out"/>
109
<method name="SendFromStorage">
110
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
111
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send_from_storage"/>
112
<arg name="index" type="u" direction="in"/>
115
<method name="SetIndication">
116
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
117
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_indication"/>
118
<arg name="mode" type="u" direction="in"/>
119
<arg name="mt" type="u" direction="in"/>
120
<arg name="bm" type="u" direction="in"/>
121
<arg name="ds" type="u" direction="in"/>
122
<arg name="bfr" type="u" direction="in"/>
125
<signal name="SmsReceived">
127
Emitted when any part of a new SMS has been received (but not for subsequent parts, if any). Not all parts may have been received and the message may not be complete; if it is, the 'complete' argument will be TRUE.
129
<arg name="index" type="u">
131
Index of the new SMS.
134
<arg name="complete" type="b">
136
TRUE if all message parts have been received, otherwise FALSE.
141
<signal name="Completed">
143
Emitted when the complete-ness status of an SMS message changes. An SMS may not necessarily be complete when the first part is received; this signal will be emitted when all parts have been received, even for single-part messages.
145
<arg name="index" type="u">
147
The index of the SMS.
150
<arg name="completed" type="b">
152
TRUE if all message parts have been received, otherwise FALSE.