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


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-5-g8ee306a
Date: Sat, 01 May 2010 15:27:09 +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  8ee306a89e52a0dbe9ff728af092b3d998a20232 (commit)
      from  bd97ff18b7d26dd4ce1f4b080ef709894dca6992 (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=8ee306a89e52a0dbe9ff728af092b3d998a20232


commit 8ee306a89e52a0dbe9ff728af092b3d998a20232
Author: Daniele Forsi <address@hidden>
Date:   Sat May 1 17:26:28 2010 +0200

    Add GN_PHONEBOOK_ENTRY_Video
    
    Seen on Nokia 5300

diff --git a/common/nokia-decoding.c b/common/nokia-decoding.c
index ca3ff6a..2e36b8d 100644
--- a/common/nokia-decoding.c
+++ b/common/nokia-decoding.c
@@ -128,6 +128,12 @@ gn_error phonebook_decode(unsigned char *blockstart, int 
length, gn_data *data,
                                blockstart[6], blockstart[7], blockstart[8], 
blockstart[9], blockstart[10], blockstart[11]);
                        memcpy(subentry->data.fileid, blockstart+6, 6);
                        break;
+               case GN_PHONEBOOK_ENTRY_Video:
+                       dprintf("Video\n");
+                       dprintf("   Video id: %02x %02x %02x %02x %02x %02x\n",
+                               blockstart[6], blockstart[7], blockstart[8], 
blockstart[9], blockstart[10], blockstart[11]);
+                       memcpy(subentry->data.fileid, blockstart+6, 6);
+                       break;
                case GN_PHONEBOOK_ENTRY_PostalAddress:
                        dprintf("Postal Address %d parts\n", blockstart[7]);
                        blocks += blockstart[7];
diff --git a/include/gnokii/common.h b/include/gnokii/common.h
index 6f90030..1d6f73a 100644
--- a/include/gnokii/common.h
+++ b/include/gnokii/common.h
@@ -236,6 +236,7 @@ typedef enum {
        GN_PHONEBOOK_ENTRY_UserID          = 0x38,
        GN_PHONEBOOK_ENTRY_PTTAddress      = 0x3f, /* string */
        GN_PHONEBOOK_ENTRY_ExtGroup        = 0x43,
+       GN_PHONEBOOK_ENTRY_Video           = 0x45, /* ID */
        GN_PHONEBOOK_ENTRY_FirstName       = 0x46,
        GN_PHONEBOOK_ENTRY_LastName        = 0x47,
        GN_PHONEBOOK_ENTRY_PostalAddress   = 0x4a,

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

Summary of changes:
 common/nokia-decoding.c |    6 ++++++
 include/gnokii/common.h |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs




reply via email to

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