×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    26

    Cell Id and LAC Information

    Hi All,

    I am getting cellId and LAC by
    .
    .
    .
    CTelephony::TNetworkInfoV1 iNetworkInfoV1;
    CTelephony::TNetworkInfoV1Pckg iNetworkInfoV1Pckg;
    .
    .
    .
    iTelephony->GetCurrentNetworkInfo(iStatus, iNetworkInfoV1Pckg);
    .
    .
    .
    .
    TUint iCellId;
    TUint iLocationAreaCode;
    TCountryCode iCountryCode;


    iCellId = iNetworkInfoV1.iCellId;
    iLocationAreaCode = iNetworkInfoV1.iLocationAreaCode;
    iCountryCode.Copy(iNetworkInfoV1.iCountryCode);

    which are correct ( i check it acco to Indian suscriber )
    but same application giving wrong iCellId for suscriber in South Africa .
    where as iLocationAreaCode and iCountryCode are correct for both countries.

    please help

    regards,
    Shyam

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: Cell Id and LAC Information

    Quote Originally Posted by shyam9 View Post
    which are correct ( i check it acco to Indian suscriber )
    but same application giving wrong iCellId for suscriber in South Africa .
    where as iLocationAreaCode and iCountryCode are correct for both countries.

    please help

    regards,
    Shyam
    Would you please elaborate more about it? How did you know that it gives wrong information?
    Nokia Developer Wiki Moderation team

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    113

    Re: Cell Id and LAC Information

    Hi Shyam,

    Each operator have own Cell ID database..that's why you got defferent one that is not wrong info....if you are choosing another operator it's may be different.....
    Regards
    MKS

  4. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    26

    Re: Cell Id and LAC Information

    Hi,
    I am having application
    1. Cell lTracker
    and my application like Dev info

    both application giving same cell id when i test on my device(India).

    but both application on same device on client side giving diff Cell id.

    regards,
    shyam

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: Cell Id and LAC Information

    You will get the same cell ID on different devices only if you use the same operator's SIM card and in the same location (connected to the same cell/basestation), and if the network operator hasn't changed the ID between tests (that could also happen).

    Note also that if you happen to be in some "borderline" area where a phone has virtually "equal" visibility to more than one cell, then which one the phone connects to depends on the logic/algorithms used to select the cell, as well as the radio/antenna design in the phone. In other words, there may be locations where two phones (usually different models) both with a SIM from the same operator, might end up connecting to different cells. In such a case, moving some distance will probably make at least one of the device to be handed over to another cell (and in in this case to the same one where the other is/was).

    If you use different SIM cards, then the connection will be to a different operator's network and different IDs.

    If you are in a different location (different cell/basestation) then you will also get different IDs.

    Different operators might use the same cell IDs (geographically in the same or entirely different regions), as they're only unique within a particular operator's network.

    Operators do not generally publish or share their cell ID databases to anyone (developers or other networks).

    If you use different programs/applications on one phone (one SIM, and device not moving) to get the cell ID, then both applications should get/display the same cell ID (if they've written to retrieve and display it properly).
    Last edited by petrib; 2010-06-21 at 07:11.

  6. #6
    Registered User
    Join Date
    Mar 2007
    Posts
    26

    Re: Cell Id and LAC Information

    Hi All,

    Is any other API which i can use for cell id?

    regards
    Shyam

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: Cell Id and LAC Information

    Quote Originally Posted by shyam9 View Post
    Hi All,

    Is any other API which i can use for cell id?

    regards
    Shyam
    I really do not understand your problem. Did you read Petri's descriptive reply? You can use the same CTelephony API as you have shown in the first post.
    Nokia Developer Wiki Moderation team

  8. #8
    Registered User
    Join Date
    Mar 2007
    Posts
    26

    Re: Cell Id and LAC Information

    Hi Kiran,

    My problem is by CellId using CTelephony API is not correct.
    because on client side they have database of cell id of all service provider , but CellId using CTelephony is showing different values.
    but same application showing correct Cellid in India i checked 2 to 3 application which show Cellid info.

    Shyam

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: Cell Id and LAC Information

    CellId is dependent on network provider. Explain with some real example. Reading Petri's reply again will help too.
    Nokia Developer Wiki Moderation team

  10. #10
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: Cell Id and LAC Information

    Quote Originally Posted by shyam9 View Post
    Hi Kiran,

    My problem is by CellId using CTelephony API is not correct.
    because on client side they have database of cell id of all service provider , but CellId using CTelephony is showing different values.
    but same application showing correct Cellid in India i checked 2 to 3 application which show Cellid info.

    Shyam
    Are you sure the database you have with/for the applicaitons you've tried is correct (up to date)? I'd think that what CTelephony shows is what the network reports to the phone.

  11. #11
    Registered User
    Join Date
    Mar 2007
    Posts
    26

    Re: Cell Id and LAC Information

    yes client is sure ,they are having tie up with 3 service providers.
    but 3rd party application cell tracker is giving data near about same which they want.
    My application and Cell tracker on same device give diff data for same location.
    and at my side my application and cell tracker application giving same data.

Similar Threads

  1. LAC and Cell ID values
    By sagar_abbas in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2009-09-04, 04:53
  2. Location NAME from LAC,cell-id
    By gil_ipe in forum Symbian
    Replies: 5
    Last Post: 2008-08-17, 20:06
  3. Cell ID, MNC, LAC
    By yjchia in forum Mobile Java General
    Replies: 2
    Last Post: 2008-06-14, 07:17
  4. Cell ID, LAC, RX Level and TA
    By dehghani in forum Symbian
    Replies: 1
    Last Post: 2006-07-27, 12:48
  5. Cell ID, LAC, RX Level and TA
    By dehghani in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2006-07-24, 03:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×