GsmCellLocation.getCid() format

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

GsmCellLocation.getCid() format

Postby curro » Fri Mar 05, 2010 9:43 pm

Hello. 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 on the Dev Phone 2 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.

Please provide any help

Thanks in advance
curro
Freshman
Freshman
 
Posts: 7
Joined: Thu Mar 04, 2010 3:17 pm

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests