<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.1">
</HEAD>
<BODY>
Hi Dawid,<BR>
<BR>
Tks for your reply.<BR>
<BR>
Actually, the fields you mentioned are the ones returned by get_registration_status<BR>
<BR>
get_current_cell_info fields are slightly different.<BR>
I did not find anything yet on those 2 last fields :s.<BR>
<BR>
For instance, ATM, I have different returned result for cell_info and registration:<BR>
Nokia-N900-42-11:~# ./get_registration_status.sh <BR>
method return sender=:1.17 -> dest=:1.538 reply_serial=2<BR>
byte 1<BR>
uint16 21013<BR>
uint32 21112<BR>
uint32 1<BR>
uint32 214<BR>
byte 3<BR>
byte 3<BR>
int32 0<BR>
Nokia-N900-42-11:~# ./get_current_cell_info.sh <BR>
method return sender=:1.17 -> dest=:1.539 reply_serial=2<BR>
byte 1<BR>
uint16 21013<BR>
uint32 21112<BR>
uint32 1<BR>
uint32 214<BR>
byte 0<BR>
byte 3<BR>
int32 0<BR>
Nokia-N900-42-11:~# <BR>
<BR>
<BR>
Tks for your help.<BR>
<BR>
Chantra<BR>
<BR>
On Tue, 2010-04-27 at 19:18 +0100, Dawid Lorenz (maemobile) wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
----- Original message ----- <BR>
> Hi, <BR>
> <BR>
> I have been spending quite some time understanding the values returned <BR>
> by: <BR>
> dbus-send --system --type=method_call --dest=com.nokia.phone.net <BR>
> --print-reply /com/nokia/phone/net Phone.Net.get_current_cell_info <BR>
> method return sender=:1.17 -> dest=:1.373 reply_serial=2 <BR>
> byte 2 --> type GSM = 1, WCDMA = 2 ?? <BR>
> uint16 2050 --> LAC <BR>
> uint32 17143306 --> Cell ID (cellid = res & 65535), RNC = res >> <BR>
> 16 <BR>
> uint32 1 --> mnc <BR>
> uint32 214 --> mcc <BR>
> byte 0 --> ??? <BR>
> byte 3 --> ??? 3 on supported network, 0 on unsupported <BR>
> network, 2 when NSPS <BR>
> int32 0 --> error <BR>
> <BR>
> So far, this is what I have got, the 2 last bytes returned parameters <BR>
> are the ones I try to get info from: <BR>
> byte 0 --> ??? <BR>
> byte 3 --> ??? 3 on supported network, 0 on unsupported <BR>
> network, 2 when NSPS <BR>
> <BR>
> On my phone, I am generally getting values 0,3 respectively, and it <BR>
> seems that the last byte will change to 0 on unsupported networks and 2 <BR>
> when only NSPS is available. <BR>
> <BR>
> Is there anybody out there that can give me some more info on these <BR>
> values? <BR>
> Any Nokia developers that will know what those values stands for :p. <BR>
> <BR>
> Any leads really appreciated :p <BR>
> <BR>
> Tks, <BR>
> <BR>
> Chantra <BR>
> <BR>
> <BR>
> <BR>
<BR>
<BR>
<B>NSPS stands for No Service Power Save (or similar) and occurs when you have no home/accessible network coverage, hence device will 'power save' instead of searching for it all the time. Basically, the field you're looking at here is current network status and tells you whether you're within home network, is device searching for network or give up and go into power save mode.</B> <BR>
<BR>
<B>Don't know whether you want to know the meaning of other fields, ping me if you do.</B> <BR>
<BR>
<B>You might also install NetMon app from extras-devel and have a look into its source (python). It reads that exact values you're after, so that might give some extra clues to you. Good luck.</B> <BR>
<BR>
<B>--</B> <BR>
<B>Dawid 'evad' Lorenz * <A HREF="http://adl.pl">http://adl.pl</A></B> <BR>
<BR>
<B>null://real men never use nokia</B><BR>
<BR>
<BR>
<PRE>
_______________________________________________
maemo-developers mailing list
<A HREF="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</A>
<A HREF="https://lists.maemo.org/mailman/listinfo/maemo-developers">https://lists.maemo.org/mailman/listinfo/maemo-developers</A>
!DSPAM:4bd72a4f61679706917093!
</PRE>
</BLOCKQUOTE>
<BR>
!DSPAM:4bd7354a61677892912075!
</BODY>
</HTML>