aboutsummaryrefslogtreecommitdiff
path: root/introspection/org.freedesktop.ModemManager1.Sms.xml
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-12 12:34:43 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-14 07:05:26 +0200
commitfbe01c8d6a22cb95ff74ddefc907e663cdeee710 (patch)
treeb63a0c99673a3f8e47c92b82c3f0d31889979a95 /introspection/org.freedesktop.ModemManager1.Sms.xml
parent15be01d4fac9c761411f23903df5c0d6c2360424 (diff)
sms: 'Text' and 'Data' will never be given at the same time
When receiving an SMS, if the encoding is either GSM7 or UCS2, we will treat the contents of the SMS as text; and if the encoding is either 8BIT or unknown, we will just dump the contents of the SMS as data. When creating an SMS, the user is not allowed to give both text and data, only one can be given. We will use by default 8BIT when data is given, and guess the best encoding if text is given. Note that it's still possible to have SMS with neither text nor data, as in delivery status reports. This commit also handles the split of the input data in order to make it fit into singlepart or multipart messages.
Diffstat (limited to 'introspection/org.freedesktop.ModemManager1.Sms.xml')
-rw-r--r--introspection/org.freedesktop.ModemManager1.Sms.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/introspection/org.freedesktop.ModemManager1.Sms.xml b/introspection/org.freedesktop.ModemManager1.Sms.xml
index 534be3be..858c9890 100644
--- a/introspection/org.freedesktop.ModemManager1.Sms.xml
+++ b/introspection/org.freedesktop.ModemManager1.Sms.xml
@@ -66,10 +66,12 @@
<!--
Text:
- Message text.
+ Message text, in UTF-8.
When sending, if the text is larger than the limit of the technology or
modem, the message will be broken into multiple parts or messages.
+
+ Note that Text and Data are never given at the same time.
-->
<property name="Text" type="s" access="read" />
@@ -80,6 +82,8 @@
When sending, if the data is larger than the limit of the technology or
modem, the message will be broken into multiple parts or messages.
+
+ Note that Text and Data are never given at the same time.
-->
<property name="Data" type="ay" access="read" />