gnokii-users
[Top][All Lists]
Advanced

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

Re: How to write a phone number ?


From: Pawel Kot
Subject: Re: How to write a phone number ?
Date: Tue, 17 Feb 2004 21:09:47 +0100 (CET)

On Tue, 17 Feb 2004, Hadmut Danisch wrote:

> Danisch 
> Hadmut;+497211111;ME;8;3;11;6;3;+4972122222;11;2;4;+497213333;11;4;5;+497214444;11;3;6;+491775555555
>
>
> So this does not match.

Sorry, I should have checked more carefully.

> <name>                Danisch Hadmut          OK
> <number>      +497211111              OK
> <memory_type> ME                      OK
> <entry_location>8                     seems ok
> <caller_group>  3                     could be ok, meaning?

I have 5 caller groups in my Nokia 6210. 1-5 denotes sequent group, 0
means no group.

> But then a every subentry seems to consist of four fields, which
> does not match the given description
>
> 11;6;3;+4972122222;
> 11;2;4;+497213333;
> 11;4;5;+497214444;
> 11;3;6;+491775555555
>
> First field           ?

Entry type (gn_phonebook_entry_type), quoting include/gnokii/common.h:
        GN_PHONEBOOK_ENTRY_Name       = 0x07,
        GN_PHONEBOOK_ENTRY_Email      = 0x08,
        GN_PHONEBOOK_ENTRY_Postal     = 0x09,
        GN_PHONEBOOK_ENTRY_Note       = 0x0a,
        GN_PHONEBOOK_ENTRY_Number     = 0x0b,
        GN_PHONEBOOK_ENTRY_Ringtone   = 0x0c,
        GN_PHONEBOOK_ENTRY_Date       = 0x13,   /* Date is used for DC,RC,etc 
(last calls) */
        GN_PHONEBOOK_ENTRY_Pointer    = 0x1a,   /* Pointer to the other memory 
*/
        GN_PHONEBOOK_ENTRY_Logo       = 0x1b,
        GN_PHONEBOOK_ENTRY_LogoSwitch = 0x1c,
        GN_PHONEBOOK_ENTRY_Group      = 0x1e,
        GN_PHONEBOOK_ENTRY_URL        = 0x2c,
So all numbers are 0x0a=11.

> Second field          subentry type?

Number type (gn_phonebook_number_type), quoting include/gnokii/common.h:
        GN_PHONEBOOK_NUMBER_Home    = 0x02,
        GN_PHONEBOOK_NUMBER_Mobile  = 0x03,
        GN_PHONEBOOK_NUMBER_Fax     = 0x04,
        GN_PHONEBOOK_NUMBER_Work    = 0x06,
        GN_PHONEBOOK_NUMBER_General = 0x0a,
Ignored (set to 0) by some entry types.

> third field           subentry number? Seems to be >=3 always

Subentry id, it is given by the phone. Ignored (set to 0) by some entry
types.

> fourth field          number

Number or text

I'll update the manpage.

pkot
-- 
mailto:address@hidden
http://www.gnokii.org/






reply via email to

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