gnokii-users
[Top][All Lists]
Advanced

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

Re: [SOLVED] Nokia 5130c-2: calendar: UNHANDLED FRAME RECEIVED


From: Pawel Kot
Subject: Re: [SOLVED] Nokia 5130c-2: calendar: UNHANDLED FRAME RECEIVED
Date: Sun, 23 Jan 2011 15:35:42 +0100

Hi.

On Sun, Jan 23, 2011 at 12:42, Daniele Forsi <address@hidden> wrote:
> Pawel, do you think that we can work around wrong flags in
> NK6510_WriteCalendarNote() ?

I did that. Just pushed.

> Now we have:
>        error = NK6510_FirstCalendarFreePos(data, state);
>        if (error != GN_ERR_NONE)
>                return error;
> we could insert
>        if (error == GN_ERR_UNHANDLEDFRAME)
>                return NK6510_WriteCalendarNote2(data, state);

I did it in a bit more complicated way ;) And made consistency all
over the place when we detect series40 3rd+ Ed.

> This unhandled frame is an 0xf0 code that we should probably handle as
> GN_ERR_NOTSUPPORTED, we're starting to see it in many places when we
> use old frames on new phones

It is GN_ERR_NOTSUPPORTED.
line 3674:
        case NK6510_SUBCAL_UNSUPPORTED: /* 0xf0 */
                e = GN_ERR_NOTSUPPORTED;
                break;

take care,
-- 
Pawel Kot



reply via email to

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