[Top][All Lists]

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

Re: gnokii --getnetworkinfo

From: Bertrik Sikken
Subject: Re: gnokii --getnetworkinfo
Date: Tue, 21 Jan 2003 23:02:17 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

Pavel Machek wrote:

On Sun, Jan 12, 2003 at 02:46:31PM +0100, Pawel Kot wrote:

On Sat, 11 Jan 2003, Bertrik Sikken wrote:

I agree it's good to have consistency, but I think it's odd to
display the LAC and cell id as hex.
Netmonitor menu 11 on my nokia 3410 shows them in plain decimal.

What about switching it all to the decimal values? Anyone to do it?

The reason behind my patch is to eliminate the inconsistency. I converted
the getnetworkinfo because the monitor writes it as hex for ages. I think
only the compatibility is the reason behind of the hex form. But the
operator id is a decimal number too, so there can be other reasons. I
don't mind if we convert both to decimal. I think it's Pawel's duty to

I don't use netmonitor in my phone. The solution is to show these values
just as they are shown in the phone. Bertrik says that it is showen
decimal... Anyway, I'll activate the netmonitor on my phones and check,
but if you belive that I will see the decimal numbers don't hesitate to
prepare the patch.

Siemens shows them in hex... I believe hex is the way to go since it
is 4 characters, fixed, if you use hex.


Ok, although my preference goes out to decimal , I don't mind too much
if it would be displayed as hex. Besides I can't seem to get gnokii --monitor
to work properly right now, so I can not really compare the output from
gnokii --monitor and gnokii --getnetworkinfo.

How about storing the network info in some other format than byte arrays?
For example to make cell_id and LAC both unsigned ints (or some other
type with at least 16 bits).


reply via email to

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