Android delivering different Cell IDs (Neighboring Cell Info)

Posted by Curro on Stack Overflow See other posts from Stack Overflow or by Curro
Published on 2010-03-12T23:38:54Z Indexed on 2010/03/12 23:47 UTC
Read the original article Hit count: 482

Filed under:
|
|
|

Hello. Using an Android Dev Phone 2, I'm using the GsmCellLocation.getCid() method to get the Cell ID on my network. When I run the command and get all the CellIDs for the NeighboringCellInfo I get this values:

597195726
597185722
597195718
597110191
597101100
597175726

I'm running this using the SDK 1.6.

The problem is that when I run the Engineering Mode on a GSM modem that I have, running a command to obtain the Neighboring Cell IDs, I get this values:
34253
0
34223
34262
34181
0

What is the difference here? In what format is Android delivering the Cell IDs?

I tried doing a "cell.getCid() & 0xffff" but now I'm getting the values:
21690
31686
37068
11695
11694
31694

Which are still different from the one that the GSM Modem is delivering with the Engineering Mode.

Obviously I tried this on at the same time, same location.

I'm trying to get the same Cell IDs that the external GSM modem I using is delivering

Please provide any help

Thanks in advance!

© Stack Overflow or respective owner

Related posts about android

Related posts about cellid