gnokii-users
[Top][All Lists]
Advanced

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

Re: [patch] (sim)lock info


From: Pawel Kot
Subject: Re: [patch] (sim)lock info
Date: Sun, 5 Jan 2003 00:09:25 +0100 (CET)

On Sat, 4 Jan 2003, Bertrik Sikken wrote:

Hi Bertrik,

> Attached is a patch to get info about the locks in a phone
> for nk6100 compatible phones.
> It also adds a --getlocksinfo option to the gnokii command
> line tool.

Cool, thanks a lot. Will apply this in few minutes (if it will work for me
-- got already connected 6130 to my workstation :-))

> MCC+MNC :      20412,    user, CLOSED, counter 1
>     GID1 :       434A, factory, CLOSED, counter 0
>     GID2 :       0000, factory,   open, counter 0
>     MSIN : FFFFFFFFFF, factory,   open, counter 0

Could you please update the manpage with this particular option saying
what is the meaning of the sequent fields. I'd appreciate if you would do
the same with --getnetworkinfo.

> I had to add an opt_index enum in gnokii.c but this resulted
> in my newly added enun to be equal to 63.
> However this is later interpreted as an illegal value
> when it is returned by getopt_long. Therefore I changed
> the value of the first enum value (OPT_HELP) to 256,
> so the enums are out of the range of ascii characters.

Sounds fair and reasonable. I'll check how it behaves here.

thanks a lot for your work,
pkot
PS. Did you verify my changes in the --getnetworkinfo?
-- 
mailto:address@hidden :: mailto:address@hidden
http://kt.linuxnews.pl/ :: Kernel Traffic po polsku





reply via email to

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