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
Denis Kenzior
f6628b81b9
Get rid of message-waiting.h
2009-08-04 15:10:49 -05:00
Andrzej Zaborowski
203ed17cec
Add a MessageWaiting interface to track message waiting indications.
...
The state of the indications is kept in memory and written back to
the SIM after any changes.
2009-08-04 15:08:11 -05:00
Denis Kenzior
3e6d4237cb
Remove all uses of modem.h
2009-07-29 16:53:19 -05:00
Denis Kenzior
19eeb7f1ba
Rename modem_add_interface / modem_remove_interface
...
Move to ofono_modem_add_interface, ofono_modem_remove_interface
and put in ofono/modem.h
2009-07-29 16:44:16 -05:00
Denis Kenzior
54816de04d
Get rid of dbus-gsm.h
2009-07-29 12:26:06 -05:00
Denis Kenzior
1d8785f8bd
Rename dbus_gsm_pending_reply
2009-07-29 12:26:06 -05:00
Denis Kenzior
6728542a01
Rename dbus_gsm_dict_append
2009-07-29 12:26:05 -05:00
Denis Kenzior
d9025e13e1
Move & Rename PROPERTIES_ARRAY_SIGNATURE
2009-07-29 12:26:05 -05:00
Denis Kenzior
684b5be1fc
Rename dbus_gsm_signal_property_changed
2009-07-29 12:26:05 -05:00
Denis Kenzior
18ecb22f93
Fix segfault
2009-07-29 12:26:05 -05:00
Denis Kenzior
00fb6cce62
Rename dbus_gsm error functions to __ofono_error
2009-07-29 12:26:05 -05:00
Denis Kenzior
99c1c92708
Move & Rename dbus_gsm_connection
...
Move to ofono/dbus.h ofono_dbus_get_connection
2009-07-29 12:26:04 -05:00
Denis Kenzior
4dae83636c
Use int for MoreMessagestoSend (mms)
2009-07-27 17:09:35 -05:00
Marcel Holtmann
feb36e2d5b
Fix stupid false positive warnings about uninitialized variables
...
The GCC check for uninitialized variables is so useful that dealing
with the false positives is just a minor inconvenience.
The following GCC trick helps to silence them:
#define uninitialized_var(x) x = x
This way no code obfuscation is needed to compile smoothly and the
code stays readable. And the author has to actually think about it.
2009-07-14 06:06:46 +02:00