[maemo-developers] Meaning of Phone.Net.get_current_cell_info return values
From: chantra chantra at debuntu.orgDate: Tue Apr 27 22:04:40 EEST 2010
- Previous message: Meaning of Phone.Net.get_current_cell_info return values
- Next message: Meaning of Phone.Net.get_current_cell_info return values
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Dawid, Tks for your reply. Actually, the fields you mentioned are the ones returned by get_registration_status get_current_cell_info fields are slightly different. I did not find anything yet on those 2 last fields :s. For instance, ATM, I have different returned result for cell_info and registration: Nokia-N900-42-11:~# ./get_registration_status.sh method return sender=:1.17 -> dest=:1.538 reply_serial=2 byte 1 uint16 21013 uint32 21112 uint32 1 uint32 214 byte 3 byte 3 int32 0 Nokia-N900-42-11:~# ./get_current_cell_info.sh method return sender=:1.17 -> dest=:1.539 reply_serial=2 byte 1 uint16 21013 uint32 21112 uint32 1 uint32 214 byte 0 byte 3 int32 0 Nokia-N900-42-11:~# Tks for your help. Chantra On Tue, 2010-04-27 at 19:18 +0100, Dawid Lorenz (maemobile) wrote: > ----- Original message ----- > > 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 > > > > > > > > > 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. > > Don't know whether you want to know the meaning of other fields, ping > me if you do. > > 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. > > -- > Dawid 'evad' Lorenz * http://adl.pl > > null://real men never use nokia > > > > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > > > !DSPAM:4bd72a4f61679706917093! !DSPAM:4bd7354a61677892912075! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100427/b687b7a9/attachment.htm>
- Previous message: Meaning of Phone.Net.get_current_cell_info return values
- Next message: Meaning of Phone.Net.get_current_cell_info return values
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]