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


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-79-g13febfa
Date: Fri, 17 Dec 2010 19:47:34 +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  13febfa6c7843a30c10e2c620e9a9fcc09570fe6 (commit)
      from  286b2e40250f794c6fed57cf2cfcbaf799a0ea4a (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=13febfa6c7843a30c10e2c620e9a9fcc09570fe6


commit 13febfa6c7843a30c10e2c620e9a9fcc09570fe6
Author: Daniele Forsi <address@hidden>
Date:   Fri Dec 17 20:42:38 2010 +0100

    Handle the generic 0xf0 FBUS error code in NK6510_IncomingCalendar()
    
    Nokia Series 40 5th doesn't support the known frame to write a calendar
    entry; reported in https://savannah.nongnu.org/bugs/?28717

diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index f468835..328b3c0 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -3661,6 +3661,9 @@ static gn_error NK6510_IncomingCalendar(int messagetype, 
unsigned char *message,
                        break;
                }
                break;
+       case NK6510_SUBCAL_UNSUPPORTED: /* 0xf0 */
+               e = GN_ERR_NOTSUPPORTED;
+               break;
        default:
                dprintf("Unknown subtype of type 0x%02x (calendar handling): 
0x%02x\n", NK6510_MSG_CALENDAR, message[3]);
                e = GN_ERR_UNHANDLEDFRAME;
diff --git a/include/phones/nk6510.h b/include/phones/nk6510.h
index a3f6a4c..f268b64 100644
--- a/include/phones/nk6510.h
+++ b/include/phones/nk6510.h
@@ -125,6 +125,7 @@ typedef enum {
 #define NK6510_SUBCAL_ADD_NOTE_RESP    0x66    /* Add calendar note response */
 #define NK6510_SUBCAL_INFO2_RCVD       0x9f    /* Received calendar summary */
 #define NK6510_SUBCAL_FREEPOS2_RCVD    0x96    /* Received first free position 
*/
+#define NK6510_SUBCAL_UNSUPPORTED      0xf0    /* Error code for unsupported 
FBUS frames */
 
 /* Calendar note types */
 #define NK6510_NOTE_REMINDER           0x00    /* Reminder */

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

Summary of changes:
 common/phones/nk6510.c  |    3 +++
 include/phones/nk6510.h |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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