gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-52


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-524-g794fe8b
Date: Wed, 01 May 2013 17:02:51 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  794fe8b0eaa6da6f1b765a2d560041cf4fc0d886 (commit)
      from  212261b0be05904ca39d0e1e78867dbaf796fc80 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=794fe8b0eaa6da6f1b765a2d560041cf4fc0d886


commit 794fe8b0eaa6da6f1b765a2d560041cf4fc0d886
Author: Daniele Forsi <address@hidden>
Date:   Wed May 1 18:21:50 2013 +0200

    Don't overwrite user-provided TP-Validity-Period
    
    Driver was forcing a value of 0xaa meaning 4 days. Now by default it
    is used the value of 4320 minutes, corresponding to 3 days, set in
    common/gsm-sms.c:sms_default()

diff --git a/ChangeLog b/ChangeLog
index 87629b2..124473d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -38,6 +38,9 @@
     o add optional authentication during the initialization phase
                                                         (Paweł Kot)
     o implement GN_OP_Ping operation                    (Paweł Kot)
+    o don't overwrite user-provided TP-Validity-Period; this means
+      that the default now is 3 days, like in other drivers,
+      instead of 4 days forced by the driver        (Daniele Forsi)
  * fake driver updates
     o always autodetect if PDU SMS starts with SMSC (Daniele Forsi)
     o make it usable with gnome-phone-manager       (Daniele Forsi)
diff --git a/common/phones/atgen.c b/common/phones/atgen.c
index 0823b64..46dfe7d 100644
--- a/common/phones/atgen.c
+++ b/common/phones/atgen.c
@@ -1455,7 +1455,7 @@ static gn_error AT_WriteSMS(gn_data *data, struct 
gn_statemachine *state,
 
        req2[offset + 4] = data->raw_sms->pid;
        req2[offset + 5] = data->raw_sms->dcs;
-       req2[offset + 6] = 0xaa; /* Validity period */
+       req2[offset + 6] = data->raw_sms->validity[0]; /* Validity period in 
relative format takes 1 octect */
        req2[offset + 7] = data->raw_sms->length;
        memcpy(req2 + offset + 8, data->raw_sms->user_data,
               data->raw_sms->user_data_length);

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    3 +++
 common/phones/atgen.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]