Denis Kenzior
960310f8b1
sms: Be more paranoid when loading SMS settings
2011-02-06 23:47:17 -06:00
Denis Kenzior
9086328508
sms: Use a better pattern for bearer_from_string
2011-02-06 23:47:17 -06:00
Aki Niemi
bef5e1773c
sms: Add alphabet support to SMS atom
2011-02-06 23:47:16 -06:00
Aki Niemi
15428cc2df
sms: Fix indentation
2011-02-02 11:03:21 +02:00
Lucas De Marchi
bc0386cb23
sms: restore pending tx messages from backup
...
Based on patch from: Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:55:31 -06:00
Lucas De Marchi
f55447a39e
sms: delete sent sms messages from backup
...
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:14:41 -06:00
Lucas De Marchi
8305ddf321
sms: store pending tx pdus on disk
...
Based on patch from Kristen Carlson Accardi <kristen@linux.intel.com>
2011-01-28 16:14:12 -06:00
Faiyaz Baxamusa
76081700a9
sms: Break out message objects into message.[ch]
...
These can be used as is by the CDMA SMS manager atom
2011-01-20 14:58:31 -06:00
Pekka Pessi
2c7b1348aa
sms: make sms atom offline-safe
...
Allow use of SMS atom both in online and offline (post_sim) states.
SMS atom now watches network registration atom and state. Thmessages
are queued but not sent if not registered to a network. Errors
occurring when a short message is being sent while transition from
online to offline or when network coverage is dropped are now handled
gracefully.
2011-01-18 22:09:07 -06:00
Marcel Holtmann
c7963f1c00
sms: Add debug for SMS source and destination ports
2010-12-24 10:47:39 -08:00
Denis Kenzior
ac72349017
sms: Use the right union member for DCS check
2010-12-02 07:49:49 -06:00
Lucas De Marchi
b210838e87
core: explicitly compare pointers to NULL
...
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/ )
// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@
- !E
+ E == NULL
// </smpl>
2010-11-29 13:27:15 -06:00
Jeevaka Badrappan
2d0cb92155
src: coding style fixes - rule M6
2010-11-22 05:07:52 -06:00
Denis Kenzior
5c9a03b480
sms: Fix up comment style and wording
2010-11-10 09:17:19 -06:00
Andrzej Zaborowski
45b944d84b
sms: SMS-PP download must be enabled in sst / est
2010-11-10 09:09:55 -06:00
Andrzej Zaborowski
028c8c011b
sms: Handle "USIM Download" SMS type.
2010-11-08 13:36:47 -06:00
Denis Kenzior
4815d84789
sms: Call the txq_submit queued callback
2010-11-04 10:25:42 -05:00
Denis Kenzior
857e2d046f
sms: Separate history from dbus flags in txq_submit
2010-11-04 10:25:42 -05:00
Denis Kenzior
3436c58fac
sms: Refactor __ofono_sms_txq_submit
2010-11-04 10:25:42 -05:00
Denis Kenzior
4a2111347f
sms: Add __ofono_sms_message_path_from_uuid
2010-11-04 10:25:41 -05:00
Denis Kenzior
0edb5e3645
sms: add __ofono_sms_get_next_ref
2010-11-04 10:25:41 -05:00
Denis Kenzior
2a18afa994
sms: Fix unused variable warning
2010-11-02 15:56:22 -05:00
Denis Kenzior
e29d1338b9
sms: Update to the new smsutil api
2010-11-02 14:58:21 -05:00
Denis Kenzior
348bdb7f1d
sms: Don't crash when encoding fails
2010-11-02 12:15:53 -05:00
Denis Kenzior
8f5d8280b6
sms: Minor style fix
2010-11-02 12:15:53 -05:00
Denis Kenzior
f5db7564e8
sms: Left shift 8-bit ports by 16
...
These are less commonly used so make them not interfere with 16 bit
ports
2010-11-02 12:15:53 -05:00
Aki Niemi
37d2edec1c
Fix style problem
2010-10-14 15:37:37 +03:00
Aki Niemi
5a85a57cc3
sms: Implement text and datagram watch
...
Allow setting a watch for incoming text and datagram messages on the
sms atom.
2010-10-14 15:22:16 +03:00
Pekka Pessi
907e14e4ae
sms: fix type error
2010-10-05 13:53:12 +02:00
Aki Niemi
0eee1c6727
sms: Fix 8bit port handling
2010-09-27 19:09:09 -05:00
Jeevaka Badrappan
4196182770
Fix multi-line comment style issues
2010-09-21 21:16:01 -05:00
Denis Kenzior
348a891665
sms: Update signals for introspection
2010-09-21 21:15:08 -05:00
Denis Kenzior
8dbaf29ffc
sms: Tweak behavior of txq_submit
...
If history tracking is desired, expose over D-Bus as well
2010-09-21 21:15:07 -05:00
Denis Kenzior
82ff49c781
sms: Emit MessageRemoved
2010-09-21 21:15:07 -05:00
Denis Kenzior
8ea7db0416
sms: Emit MessageAdded
2010-09-21 21:15:07 -05:00
Denis Kenzior
0e76043303
sms: Implement GetMessages method
2010-09-21 21:15:07 -05:00
Denis Kenzior
aa780bc935
sms: Initial Message interface implementation
2010-09-21 21:15:07 -05:00
Denis Kenzior
251ac0ebd2
sms: Update to the new history API
2010-09-21 08:44:48 -05:00
Denis Kenzior
03c8177208
sms: Update to the new status report assembly api
2010-09-21 08:44:47 -05:00
Denis Kenzior
02cca88bcc
sms: Get rid of NextMessageId setting
2010-09-21 08:44:47 -05:00
Denis Kenzior
b086f57ec0
sms: Reflow manager methods table
2010-09-21 08:44:47 -05:00
Denis Kenzior
016f168f47
sms: Refactor __ofono_sms_txq_submit
2010-09-21 08:44:47 -05:00
Denis Kenzior
63c8b720fe
sms: Refactor txq_entry_create
2010-09-21 08:44:47 -05:00
Denis Kenzior
9d52a9d215
sms: Refactor outgoing sms id generator
2010-09-21 08:44:47 -05:00
Inaky Perez-Gonzalez
1683c03140
sms: replace sequential SMS message ID with hash
...
The SMS messages's ID number (used for history, D-Bus naming and
storage in external database) is updated to use a hash (based on PDUs
and submission time) to further avoid ID collision concerns.
2010-09-21 08:44:47 -05:00
Denis Kenzior
852a65bcdd
sms: Compute SHA1 based UUID for incoming messages
2010-09-21 08:44:47 -05:00
Aki Niemi
2cb4d96793
Default to using 8bit SMS reference numbers
2010-09-09 16:30:00 +03:00
Aki Niemi
35cfb432d4
Fix adding 8bit reference number
2010-09-03 09:10:09 -05:00
Marcel Holtmann
6bf2a743f4
sms: Add a few more debug statements
2010-08-20 21:55:22 +02:00
Denis Kenzior
7e0f28c7b1
sms: Update SmsManager to MessageManager
2010-08-19 14:20:05 -05:00