Aleksander Morgado
97ae345d9e
api: add 'Since' tags
...
These are not actively used by gdbus-codegen or gtk-doc, but they're
helpful anyway so that users know when a given API method was
introduced.
2021-03-23 12:50:17 +01:00
Ben Chan
6f0c72e4f2
introspection: untabify
2019-08-29 12:05:09 +00:00
Aleksander Morgado
91757f65da
introspection: minor indentation fixes in SMS interface
2018-06-09 11:28:09 +02:00
Aleksander Morgado
0bb91ce53d
api: add 'ServiceCategory' property to the SMS interface
...
Will be used in 3GPP2 SMS messages.
2013-10-25 19:47:16 +02:00
Aleksander Morgado
d0fb94c49f
api: add 'TeleserviceId' property to the SMS interface
...
Will be used in 3GPP2 SMS messages.
2013-10-25 19:46:37 +02:00
Aleksander Morgado
13595dcd7f
api,introspection: minor indentation fixes in 'Validity' property definition
2013-10-25 19:36:14 +02:00
Aleksander Morgado
1e69874e59
api,introspection: update interface version number
2013-07-19 09:59:21 +02:00
Aleksander Morgado
2be7adb5ea
api,introspection: update copyright notices
2013-06-11 10:12:33 +02:00
Dan Williams
9bbcd9d6a5
sms: add support for message class
...
We need to redefine the message class property to int since class
0 is a valid message class. Thus -1 now means "unspecified class".
2013-05-06 10:45:55 -05:00
Aleksander Morgado
f9105bff87
api,introspection: update 'Validity' property in the SMS interface
...
We don't want to support only 'relative' validity, so don't assume that the
Validity property will always be a uint32 value.
Instead, we define the Validity propery as '(uv)' tuple, where the first value
(a MMSmsValidityType) specifies the type of validity, and the second value is
a variant formatted accordingly to what the validity type specifies (e.g. a
uint32 value if the type is MM_SMS_VALIDITY_TYPE_RELATIVE).
2013-04-05 17:48:51 +02:00
Aleksander Morgado
fbe01c8d6a
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.
2012-09-14 07:05:26 +02:00
Aleksander Morgado
1111bfa806
api: new `DeliveryState' property in the SMS interface
...
Given only for STATUS REPORT SMS messages.
2012-09-14 07:05:25 +02:00
Aleksander Morgado
2b01c93c57
api: make read-only all SMS properties for now
...
We don't support yet modifying these properties on the fly (e.g. we would need
to re-construct the internal PDU list when the text changes).
2012-09-14 07:05:25 +02:00
Aleksander Morgado
4f1991e2ba
api: new `MessageReference' property in the SMS interface
...
Message reference allows to match a sent SMS with its corresponding delivery
report, if requested.
2012-09-14 07:05:25 +02:00
Aleksander Morgado
320984a4a0
api: new `DischargeTimestamp' property for Status Report SMS messages
2012-09-14 07:05:25 +02:00
Aleksander Morgado
7faa48ea94
api: new `PduType' property in the SMS interface
...
It will help deciding the type of message.
2012-09-14 07:05:24 +02:00
Aleksander Morgado
1c119be834
api: new `Sms.DeliveryReportRequest' property
...
Also allowing the 'delivery-report-request' key in the `Messaging.CreateSms()'
method.
2012-09-14 07:05:24 +02:00
Aleksander Morgado
667026f0c8
api: Sms.Store() now requires the specific memory storage where to store the SMS
...
... or MM_SMS_STORAGE_UNKNOWN to store it in the default storage.
2012-09-14 07:05:23 +02:00
Aleksander Morgado
5af3e232a0
api,introspection: new `Data' property in the SMS interface
...
We need to expose the raw data for the case where we get SMS messages with
binary content (e.g. settings SMS).
2012-08-31 12:12:25 +02:00
Aleksander Morgado
e68db23a97
introspection: setup all new files and remove old ones
2012-03-16 14:53:17 +01:00