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-94


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-94-g6e78067
Date: Thu, 20 Jan 2011 22:51:19 +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  6e780672a36d899bd9983277cb0a6bb2a1cd0e32 (commit)
      from  682e4c451cac8fcd746ee8c662a51763eab5b90a (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=6e780672a36d899bd9983277cb0a6bb2a1cd0e32


commit 6e780672a36d899bd9983277cb0a6bb2a1cd0e32
Author: Daniele Forsi <address@hidden>
Date:   Wed Jan 19 17:28:44 2011 +0100

    Add "BM" memory, contains Cell Broadcast Messages

diff --git a/ChangeLog b/ChangeLog
index 98a4a06..8ea2f3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,6 +25,8 @@
        o add gn_lib_phoneprofile_load_from_external() for 3rd party
          apps to initialize gnokii not using gnokii config file
                                                            (Paweł Kot)
+    o add BM memory for Cell Broadcast Messages, untested
+      reportedly supported by some AT phones        (Daniele Forsi)
  * nk6510 driver updates
     o fix parsing SMS date from saved messages, bug #29830
                                                         (Paweł Kot)
diff --git a/common/gsm-common.c b/common/gsm-common.c
index da1b98c..49dd6fd 100644
--- a/common/gsm-common.c
+++ b/common/gsm-common.c
@@ -84,6 +84,7 @@ GNOKII_API gn_memory_type gn_str2memory_type(const char *s)
        X(F18);
        X(F19);
        X(F20);
+       X(BM);
        return GN_MT_XX;
 #undef X
 }
@@ -135,6 +136,7 @@ GNOKII_API const char *gn_memory_type2str(gn_memory_type mt)
        X(F18);
        X(F19);
        X(F20);
+       X(BM);
        default: return NULL;
        }
 #undef X
@@ -184,6 +186,7 @@ GNOKII_API const char *gn_memory_type_print(gn_memory_type 
mt)
        case GN_MT_F18: return _("SMS Folder 18");
        case GN_MT_F19: return _("SMS Folder 19");
        case GN_MT_F20: return _("SMS Folder 20");
+       case GN_MT_BM: return _("Cell Broadcast");
        default: return _("Unknown");
        }
 }
diff --git a/include/gnokii/common.h b/include/gnokii/common.h
index 45df638..3d577ae 100644
--- a/include/gnokii/common.h
+++ b/include/gnokii/common.h
@@ -111,7 +111,8 @@ typedef enum {
        GN_MT_F18,
        GN_MT_F19,
        GN_MT_F20, /* 20th CUSTOM FOLDER */
-       GN_MT_LAST = GN_MT_F20,
+       GN_MT_BM, /* Cell Broadcast Messages */
+       GN_MT_LAST = GN_MT_BM,
        GN_MT_XX = 0xff /* Error code for unknown memory type (returned by 
fbus-xxxx functions). */
 } gn_memory_type;
 

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

Summary of changes:
 ChangeLog               |    2 ++
 common/gsm-common.c     |    3 +++
 include/gnokii/common.h |    3 ++-
 3 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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