![]() |
2009-11-21
, 09:23
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
![]() |
2009-11-21
, 09:28
|
|
Posts: 516 |
Thanked: 643 times |
Joined on Oct 2009
@ Denmark/Poland
|
#3
|
The Following 2 Users Say Thank You to hopbeat For This Useful Post: | ||
![]() |
2009-11-21
, 09:34
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#4
|
There is an additional field, that identifies the cell itself (MCC gives you the country, MNC gives you the network, cellID/UCID gives you the actual station):
http://maemo.org/api_refs/5.0/5.0-fi...cdma-cell-info
e.g.:
MCC: 238 (Denmark)
MNC: 20 (Telia)
Cell ID: 798903 (a station near Copenhagen)
Nokia-N900-42-11:~# dbus-send --system --print-reply --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status method return sender=:1.16 -> dest=:1.212 reply_serial=2 byte 0 uint16 754 uint32 53835 uint32 30 uint32 234 byte 0 byte 3 int32 0 Nokia-N900-42-11:~#
![]() |
2009-11-21
, 09:44
|
|
Posts: 516 |
Thanked: 643 times |
Joined on Oct 2009
@ Denmark/Poland
|
#5
|
The Following User Says Thank You to hopbeat For This Useful Post: | ||
I'm trying to obtain a Cell ID, to which N900 is currently connected (GSM/WCDMA).
It works fine, when using liblocation, however, to be able to read network information, I need to set location method to LOCATION_METHOD_CWP or LOCATION_METHOD_ACWP.
What I would like to be able to do, is to read current Cell ID regardless of current location method, i.e. read Cell ID while using real GPS for positioning.
Any ideas how to do that?
Thanks!
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!
Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google
Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!
Bored? Follow me