diff options
author | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2010-05-26 12:49:16 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-05-28 09:33:44 -0500 |
commit | b0a63388de0c2d20f39e0839e5354a0d8bd0483f (patch) | |
tree | 235a0dd28eba578500b14a2f07c25c0ad579a3b9 /src/sms.c | |
parent | 9c107821abd281b9651db01742238567f2ba86e9 (diff) | |
download | ofono-b0a63388de0c2d20f39e0839e5354a0d8bd0483f.tar.bz2 |
sms_send_message: add a short roadmap
Diffstat (limited to 'src/sms.c')
-rw-r--r-- | src/sms.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -394,6 +394,19 @@ static struct tx_queue_entry *create_tx_queue_entry(GSList *msg_list) return entry; } +/* + * Pre-process a SMS text message and deliver it [D-Bus SendMessage()] + * + * @conn: D-Bus connection + * @msg: message data (telephone number and text) + * @data: SMS object to use for transmision + * + * An alphabet is chosen for the text and it (might be) segmented in + * fragments by sms_text_prepare() into @msg_list. A queue list @entry + * is created by create_tx_queue_entry() and g_queue_push_tail() + * appends that entry to the SMS transmit queue. Then the tx_next() + * function is scheduled to run to process the queue. + */ static DBusMessage *sms_send_message(DBusConnection *conn, DBusMessage *msg, void *data) { |