08-21-2008 01:02 PM
I'm attempting to get cell tower information on a CDMA newtwork.
Sepecifically, how am I able to retrive the Cell ID and LAC of a specific phone?
Being familiar with GSM networks, CDMA has been a bit perplexing. Using CDMAInfo, I've gotten so far:
//get sid (On GSM this is the MCC) net.rim.device.api.system.CDMAInfo.getCellInfo().g
etSID(); //get nid (On GSM this is the MNC) net.rim.device.api.system.CDMAInfo.getCellInfo().g etNID(); //get Cell ID -- Entirely not sure, guessing its the BID???? net.rim.device.api.system.CDMAInfo.getCellInfo().g etBID(); //get LAC -- entirely unsure how to get the location area code for CDMA // ???
As you can see, I'm assuming the Cell ID is the BID (Is this correct?) If so, how do I now get the LAC? For example, GPRSInfo.GPRSCellInfo.getLAC() method does note exist in CDMAInfo.
Solved! Go to Solution.
08-21-2008 01:45 PM
08-21-2008 03:45 PM
Location Area Code is used in GSM and UMTS networks. It is not used in CDMA networks.
THanks for this. But what about BID? Am I right in assuming this is the cell ID?
08-21-2008 08:48 PM
The concepts are a little different. BID (Base Station ID) is probably more equal to the BSIC (Base Station Identity Code). In any case, the SID (System ID) is the highest in the hierarchy and BID is the lowest with Network ID (NID) in the middle.
12-12-2008 08:21 AM - edited 12-12-2008 09:27 AM
[ note: the locations below likely do not reflect Atlanta and contain at least one unknown
location, should be somewhere in conus fwiw, LOL . ]
Did you see my earlier post regarding CDMA and google tower data base?
At least one of their pages IIRC claimed you could use NID for LAC but I never got it
to work. I've also got some short command line utilities to generate binary post data for
testing ( use with wget for example, you don't seem to need to fake the user agent LOL),
java xxxx 1 20442 6105 > aaaaa
wget -O aaaax -S -v --post-file=aaaaa "http://www.google.com/glm/mmap"
to dump output:
java xxxxx aaaax
No warrantee but you can try these if you like that should be circa NY, SF, and Atlanta
( it wouldn't be any fun if I told you which I thought was which )
$ cat xxxx.xxx | sed -n 's/.*bid=/bid=/p' | sed -e 's/\(sid=[^&]*\)&.*/\1/' |urldecode -html | sort | uniq -c
CDMAInfo.CDMACellInfo cci= CDMAInfo.getCellInfo();
// not sure if this is a good idea or not ? LOL
05-11-2009 09:01 PM
05-11-2009 09:13 PM
google maps works fine on my vz phone without assiest AFAIK. I have lots of cell info and a test program
but never got it to work. i think some cell info from ATT worked right away and the forum posts I found didn't work