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_28-16


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_28-166-gebe7f6e
Date: Thu, 07 Jan 2010 15:47:35 +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  ebe7f6e0d96e04cf3305b538a0e910a37f7e5bc5 (commit)
      from  f29ea3dcf3b481ddb06c116d225c410c8de68607 (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=ebe7f6e0d96e04cf3305b538a0e910a37f7e5bc5


commit ebe7f6e0d96e04cf3305b538a0e910a37f7e5bc5
Author: Daniele Forsi <address@hidden>
Date:   Thu Jan 7 16:46:45 2010 +0100

    Implement GN_OP_SaveSMS in fake driver
    
    This allows testing of --savesms which has more options than --sendsms

diff --git a/ChangeLog b/ChangeLog
index 91ddd50..b7f1f37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,8 @@
     o updated Italian translation                   (Daniele Forsi)
  * fake driver updates
     o implement GN_OP_GetModel and GN_OP_GetSMSStatus to allow
-      testing of smsd sending                       (Daniele Forsi)
+      testing of smsd sending and GN_OP_SaveSMS to allow testing of
+      gnokii --savesms                              (Daniele Forsi)
     o implement GN_OP_Identify                          (Paweł Kot)
     o give hints how to configure gnokii with --identify and
       --getsms                                          (Paweł Kot)
diff --git a/common/phones/fake.c b/common/phones/fake.c
index afce20a..ee8772f 100644
--- a/common/phones/fake.c
+++ b/common/phones/fake.c
@@ -287,8 +287,10 @@ static gn_error fake_functions(gn_operation op, gn_data 
*data, struct gn_statema
                return fake_identify(data, state);
        case GN_OP_Terminate:
                return GN_ERR_NONE;
+       case GN_OP_SaveSMS:
+               return at_sms_write(data, state, "CMGW");
        case GN_OP_SendSMS:
-               return at_sms_write(data, state, "???");
+               return at_sms_write(data, state, "CMGS");
        case GN_OP_GetSMS:
                return at_sms_get(data, state);
        case GN_OP_GetSMSCenter:

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

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


hooks/post-receive
-- 
libgnokii and core programs




reply via email to

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