[maemo-developers] Meaning of Phone.Net.get_current_cell_info return values

From: chantra chantra at debuntu.org
Date: Mon Apr 26 21:56:49 EEST 2010
Hi,

I have been spending quite some time understanding the values returned
by:
dbus-send --system --type=method_call --dest=com.nokia.phone.net
--print-reply /com/nokia/phone/net Phone.Net.get_current_cell_info
method return sender=:1.17 -> dest=:1.373 reply_serial=2
   byte 2             --> type GSM = 1, WCDMA = 2 ??
   uint16 2050        --> LAC
   uint32 17143306    --> Cell ID (cellid = res & 65535), RNC = res >>
16
   uint32 1           --> mnc
   uint32 214         --> mcc
   byte 0             --> ??? 
   byte 3             --> ??? 3 on supported network, 0 on unsupported
network, 2 when NSPS
   int32 0            --> error

So far, this is what I have got, the 2 last bytes returned parameters
are the ones I try to get info from:
   byte 0             --> ??? 
   byte 3             --> ??? 3 on supported network, 0 on unsupported
network, 2 when NSPS

On my phone, I am generally getting values 0,3 respectively, and it
seems that the last byte will change to 0 on unsupported networks and 2
when only NSPS is available.

Is there anybody out there that can give me some more info on these
values?
Any Nokia developers that will know what those values stands for :p.

Any leads really appreciated :p

Tks,

Chantra


!DSPAM:4bd5e1f361679337353318!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100426/55896886/attachment.htm>
More information about the maemo-developers mailing list