gnokii-users
[Top][All Lists]
Advanced

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

Re: Unhandled frame received


From: Pawel Kot
Subject: Re: Unhandled frame received
Date: Mon, 31 Mar 2003 10:56:40 +0200

>>> address@hidden 31 March 2003 09:03:39 >>>
> libgnoki seems to not handle a case yet, where a name is written
> to the phonebook and when it contains an invalid number 
> (e.g. no number, or.spaces inside the number).
> Error code is "UNHANDLED FRAME RECEIVED":
> In the attached log, the primary number is empty, while the first
> subentry has a number.

The following patch should fix it:

--- common/phones/nk6510.c~     2003-03-31 10:53:52.000000000 +0200
+++ common/phones/nk6510.c      2003-03-31 10:53:52.000000000 +0200
@@ -1441,6 +1441,7 @@
        case 0x10:
                if (message[6] == 0x0f) {
                        switch (message[10]) {
+                       case 0x33: return GN_ERR_WRONGDATAFORMAT;
                        case 0x34: return GN_ERR_INVALIDLOCATION;
                        default:   return GN_ERR_UNHANDLEDFRAME;
                        }

> Another small issue:
> gnokii prints: "Please read Docs/Reporting-HOWTO and send a bug
report!"
> whereas the file is currently named "Docs/Bugs". 

Fixed. I think this was a motivation for me to write
Reporting-HOWTO, but as I did not do this, it's better
to change it.

pkot




reply via email to

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