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}" tp:type="String_Variant_Map" direction="out">
30
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
32
A dictionary containing SMS properties of the SMS specified by the given index. This dictionary may contain the following key/value pairs:
34
number : string - Phone number (mandatory)
35
text : string - SMS text (mandatory)
36
smsc : string - SMS service center number (optional)
37
validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
38
class : uint (0..3) - Message importance and location (optional)
39
completed: boolean - Whether all message parts have been received or not (optional)
44
<method name="GetFormat">
45
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
46
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get_format"/>
47
<arg name="result" type="u" direction="out"/>
50
<method name="SetFormat">
51
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
52
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_format"/>
53
<arg name="format" type="u" direction="in"/>
56
<method name="GetSmsc">
57
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
58
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_get_smsc"/>
59
<arg name="result" type="s" direction="out"/>
62
<method name="SetSmsc">
63
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
64
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_smsc"/>
65
<arg name="smsc" type="s" direction="in"/>
69
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
70
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_list"/>
71
<arg name="result" type="aa{sv}" direction="out">
72
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantMapList"/>
77
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
78
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_save"/>
79
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map" direction="in">
80
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
82
SMS properties to save with the following key values:
84
number : string - Phone number (mandatory)
85
text : string - SMS text (mandatory)
86
smsc : string - SMS service center number (optional)
87
validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
88
class : uint (0..3) - Message importance and location (optional)
91
<arg name="index" type="au" direction="out"/>
92
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="uint"/>
96
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
97
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send"/>
98
<arg name="properties" type="a{sv}" tp:type="String_Variant_Map" direction="in">
99
<annotation name="com.trolltech.QtDBus.QtTypeName.In0" value="QVariantMap"/>
101
SMS properties to save with the following key values:
103
number : string - Phone number (mandatory)
104
text : string - SMS text (mandatory)
105
smsc : string - SMS service center number (optional)
106
validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
107
class : uint (0..3) - Message importance and location (optional)
110
<arg name="result" type="au" direction="out"/>
111
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="uint"/>
114
<method name="SendFromStorage">
115
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
116
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_send_from_storage"/>
117
<arg name="index" type="u" direction="in"/>
120
<method name="SetIndication">
121
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
122
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_gsm_modem_sms_set_indication"/>
123
<arg name="mode" type="u" direction="in"/>
124
<arg name="mt" type="u" direction="in"/>
125
<arg name="bm" type="u" direction="in"/>
126
<arg name="ds" type="u" direction="in"/>
127
<arg name="bfr" type="u" direction="in"/>
130
<signal name="SmsReceived">
132
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.
134
<arg name="index" type="u">
136
Index of the new SMS.
139
<arg name="complete" type="b">
141
TRUE if all message parts have been received, otherwise FALSE.
146
<signal name="Completed">
148
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.
150
<arg name="index" type="u">
152
The index of the SMS.
155
<arg name="completed" type="b">
157
TRUE if all message parts have been received, otherwise FALSE.