gnokii-users
[Top][All Lists]
Advanced

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

Re: [bug report] 6310, long phonebook number fields?


From: Markus Plail
Subject: Re: [bug report] 6310, long phonebook number fields?
Date: Tue, 16 Jul 2002 09:07:15 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu)

Hi Len!

* Len Trigg writes:
> I did a little experimenting to see what the maximum number of
> characters I could store in text fields in my phone (6310). I then
> used the gnokii --getphonebook option to read the phonebook
> entry. About half of the text fields had an extra character appended
> to the end. My hypothesis (not that I know where to look to verify
> this) is that maybe the arrays that this data is being placed into
> isn't being correctly initialized with NULLs?

Very probably correct.

> FYI, the length of these entries appears to be about 58 characters,
> which is larger than the 48 characters that appears in gsm-common.h. I
> tried upping this number but that appeard to confuse things even more.

On my 6510 it's 59 character. I guess you changed the wrong
value. There's:
#define GSM_MAX_PHONEBOOK_NAME_LENGTH   (61)
#define GSM_MAX_PHONEBOOK_NUMBER_LENGTH (48)

Number length should be correct, and I adjusted name length. Will be in
CVS by this afternoon.

Regards
Markus




reply via email to

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