Commit Graph

71 Commits

Author SHA1 Message Date
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
Inaky Perez-Gonzalez 8f570a7969 sms: struct tx_queue_entry: add a destructor
Introduce a destructor function to encapsulate all the release steps
for this data type, as more are to be added later.
2010-08-05 11:59:34 -05:00
Inaky Perez-Gonzalez e31d429dbe sms: rename create_tx_queue_entry()
This is for symmetry with tx_queue_entry_free()
2010-07-23 18:00:59 -05:00
Denis Kenzior 84e73a8b7c sms: Refactor ofono_sms_submit introduced by stk
Simplify the logic and get rid of duplicated code
2010-07-08 14:27:34 -05:00
Denis Kenzior 6d91d84b28 sms: Tweak the logic to be more readable 2010-07-08 14:27:34 -05:00
Andrzej Zaborowski 516a9b06c5 Add __ofono_sms_submit for other atoms to submit SMs. 2010-07-08 14:27:33 -05:00
Denis Kenzior 20da18ca8b sms: Tweak the Bearer API 2010-06-25 17:49:36 -05:00
Denis Kenzior 8ff599c691 sms: Add support for SMS Bearer settings 2010-06-25 14:25:46 -05:00
Denis Kenzior 17de318c76 sms: minor style fix 2010-06-24 14:24:00 -05:00
Denis Kenzior 10e3ca440b sms: Don't bother setting SCA if we can't query 2010-06-24 14:13:04 -05:00
Denis Kenzior 4d82b67ea1 sms: Only emit property if value actually differs 2010-06-21 15:21:40 -05:00
Denis Kenzior 74a8ce2e8b sms: Fixup minor style issues with status reports 2010-06-21 15:21:39 -05:00
Pasi Miettinen 84d095860f sms: Status report notify 2010-06-21 15:21:39 -05:00
Denis Kenzior ba5ec3b38e sms: style fix, remove extra newline 2010-06-07 13:05:50 -05:00
Pasi Miettinen 47082757b9 sms: Add UseDeliveryReports property 2010-06-07 13:05:13 -05:00
Inaky Perez-Gonzalez 2b891029ac sms: Add some documentation
Add doc headers to ofono_sms_{create, register}
2010-05-28 09:45:56 -05:00
Inaky Perez-Gonzalez b0a63388de sms_send_message: add a short roadmap 2010-05-28 09:33:44 -05:00
Aki Niemi 96090ce079 Fix more-messages-to-send indicator
Set the mms indicator based on remaining segment count and not on the
message transmit queue status alone.
2010-05-26 11:16:45 -05:00
Denis Kenzior 5ab70ab5f2 Move sms interface definition to dbus.h 2010-03-22 15:28:08 -05:00
Denis Kenzior 87ca1b0c8f Fix: Don't use ofono_debug directly in the core
Use DBG macro which is integrated with the new debug framework.
2010-02-08 11:54:03 -06:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 955e6a61ee Style: Fix a few more occurences of if/else
See Linux coding style document for details
2009-12-17 21:45:39 -06:00
Denis Kenzior 7a5de89f32 Fix: Concatenation of datagram SMS messages
The 16 bit port address was not being computed correctly.
2009-12-14 10:14:29 -06:00
Denis Kenzior da496112b7 Fix: Don't forget to cleanup the atom watch 2009-12-01 22:53:45 -06:00
Zhigang Li 3aec8d4ac7 Fix: Send all SMS segments 2009-11-24 14:49:48 -06:00
Denis Kenzior 0b4b41c6a9 Style: add new line 2009-11-13 00:05:42 -06:00
Denis Kenzior a4189db20f Add basic state saving for SMS atom
Message ID and Reference number for concatenated messages should be
persisted.
2009-11-05 17:06:21 -06:00
Denis Kenzior f14e7c30bc Add hooks to call into sms history for SMS atom 2009-11-05 16:47:12 -06:00
Denis Kenzior 61260c298f Refactor: Make SendMessage async
This commit does two things.  First it makes SendMessage an async
method, which returns only when the SMS message has been successfully
sent or failed.

This also adds a set number of tries that oFono will resubmit the PDU to
the SMSC.  If any fragment fails to be submitted, the entire send
message attempt is deemed a failure and an error is returned to the caller.
2009-11-05 16:44:22 -06:00
Denis Kenzior 3c4dfdcb7f Refactor: Move SMS SendMessage to 1 recipient only 2009-11-05 10:27:25 -06:00
Olivier Le Thanh Duong 6d9bd02480 Migrate from RFC2822 to ISO8601 2009-10-21 19:04:47 -05:00
Denis Kenzior b1c8b291f5 Assume sms is registered only when sim ready 2009-09-22 00:07:06 -05:00
Andrzej Zaborowski 06ea6137a3 Write state of SMS assembly to disk and restore on startup.
This way we can continue receiving segmented messages over a reset or
crash.
2009-09-08 14:44:39 -05:00
Denis Kenzior 422df0edfb change int vendor to unsigned int vendor 2009-09-01 21:39:02 -05:00
Denis Kenzior 8d380f8fa0 Add vendor flag capability for sms 2009-09-01 18:14:58 -05:00
Denis Kenzior 6261b83dbf Fix unused variable modem 2009-08-20 15:39:13 -05:00
Denis Kenzior 5999b418e8 Evolve message waiting low level API 2009-08-19 18:35:07 -05:00
Denis Kenzior c4a349fdf9 Evolve SMS driver API 2009-08-19 18:35:06 -05:00
Denis Kenzior ebce9fbd4d Store the tx_next g_source so it can be removed 2009-08-07 16:14:49 -05:00