From 71e2e930fd230f9f8567b2028387197d69e688fb Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 23 Jul 2009 13:52:57 -0400 Subject: [PATCH] sms: add additional API for multi-part SMS --- introspection/mm-modem-gsm-sms.xml | 43 ++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/introspection/mm-modem-gsm-sms.xml b/introspection/mm-modem-gsm-sms.xml index a9d0d575..081ecc5a 100644 --- a/introspection/mm-modem-gsm-sms.xml +++ b/introspection/mm-modem-gsm-sms.xml @@ -26,7 +26,18 @@ The index of the SMS. - + + + A dictionary containing SMS properties of the SMS specified by the given index. This dictionary may contain the following key/value pairs: + + number : string - Phone number (mandatory) + text : string - SMS text (mandatory) + smsc : string - SMS service center number (optional) + validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional) + class : uint (0..3) - Message importance and location (optional) + completed: boolean - Whether all message parts have been received or not (optional) + + @@ -110,7 +121,35 @@ - + + 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. + + + + Index of the new SMS. + + + + + TRUE if all message parts have been received, otherwise FALSE. + + + + + + + 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. + + + + The index of the SMS. + + + + + TRUE if all message parts have been received, otherwise FALSE. + +