none
Strange MCC,MNC,LAC and CID (using RIL) ...

    Question

  • Hi all,
    I am developing an application that concerns about Cell Identification (CID). Actually, I can get the data from the PPC (windows mobile 6) and it shows like this :

    MCC: 0, MNC: 35262964, LAC: 572194348, CID: 0

    Based on what I have researched so far, MCC is identified for each country in the world, so how can my MCC be 0 ?
    And, MNC and LAC get very BIG VALUES, I dont know if it is possible for these two info to get that kind of value. Lastly, I am very surprised with the value of CID = 0. All I thought that the CID should be getting some kind of possitive value, not ZERO.
    Anyone has experience on this, please help me.

    Thank you very much.

    PS: More info about my application
    - C#, Smart Device project
    - Windows Mobile 6 Professional SDK
    - .NET compact framework 3.5
    - PPC : O2 Atom, Windows mobile 6, ActiveSync 4.5 Beta
    Friday, August 22, 2008 3:20 PM

Answers

  • Hi,

     

    I use the code from the following blog entry :-

     

    http://dalelane.co.uk/blog/?p=241

     

    Using this code I have managed to get all the values successfully on one network however get 2 of the 4 pieces of information from other networks such as the MNC and MCC are both 0 for Vodafone UK for example.

     

    This link gives the MNC and MCC for most networks and countries, without knowing where you are conducting your testing it is difficult to determine what your MNC and MCC should be but use the link below as a reference :-

     

    http://www.flatbatt.co.uk/Unlocking/Network_codes/network_codes.html

     

    (NOTE: This link shows both the MCC and MNC, so for Vodafone UK (23415) is MCC - 234 and MNC 15)

     

    The Cell Id should be a number greater than 0, I am not sure why you are getting 0 but if you try the code from Dale Lane's blog then this should produce the correct results.

     

    Please let me know how you get on.

     

    Hope this helps.

     

    Paul Diston

    Sunday, August 24, 2008 8:20 AM

All replies

  • Hi,

     

    I use the code from the following blog entry :-

     

    http://dalelane.co.uk/blog/?p=241

     

    Using this code I have managed to get all the values successfully on one network however get 2 of the 4 pieces of information from other networks such as the MNC and MCC are both 0 for Vodafone UK for example.

     

    This link gives the MNC and MCC for most networks and countries, without knowing where you are conducting your testing it is difficult to determine what your MNC and MCC should be but use the link below as a reference :-

     

    http://www.flatbatt.co.uk/Unlocking/Network_codes/network_codes.html

     

    (NOTE: This link shows both the MCC and MNC, so for Vodafone UK (23415) is MCC - 234 and MNC 15)

     

    The Cell Id should be a number greater than 0, I am not sure why you are getting 0 but if you try the code from Dale Lane's blog then this should produce the correct results.

     

    Please let me know how you get on.

     

    Hope this helps.

     

    Paul Diston

    Sunday, August 24, 2008 8:20 AM
  • Hi,

     

    Just looking at some of my data captured for Orange UK, I have the same situation as you with the invalid data. In my situation this happened because there was no Signal.

     

    Hope this helps.

     

    Paul Diston

     

    Sunday, August 24, 2008 11:50 AM
  • Curently, I'm trying to test Dale's code on my PPC. In my situation, I really got some signal strength from the cell which was about level 4 ... Is it weak as no signal ?

    Monday, August 25, 2008 7:39 PM
  • Actually, my O2 Atom PPC is upgraded from windows mobile 5 to windows mobile 6. I heard the rumors from Internet if we upgrade the OS of our PPC, we will get the problems with the Cellid fetching. I don't know if it is right or wrong ... Sad
    Anyone can help me ?
    Monday, September 01, 2008 4:34 PM
  • Your device carrier and/or manufacturer can. Contact them and find out.

    Monday, September 01, 2008 5:13 PM
    Moderator
  • Hi All,

    I am facing a similar issue.
    I am working with windows mobile 5.0 PPC.
    I am able to get the LAD anc cellID but the MCC and MNC is always 0.
    The signal level in the phone is also good.
    Can someone please guide me in the right direction?

    Regards,
    Keerthi
    Friday, February 06, 2009 10:14 PM
  • Hi,

    You may require to upgrade your OS or use a device with a newer OS version.

    Hope this helps.

    Paul Diston
    http://www.smartmobiledevice.co.uk/
    Saturday, February 07, 2009 9:18 AM
  • Hi Paulson,

    Thank you for the reply, but I do not understand as to why I should be upgrading the OS.
    Can you please explain it to me?
    I am still able to get cellID and LAC in this phone using the same RIL API.

    Regards,
    Keerthi
    Saturday, February 07, 2009 3:43 PM
  • Hi Paul,

    I was able to MCC and MNC through TAPI API.
    Tapi has a API to get IMSI.
    MCC and MNC forthe the first 5 -6 digits in IMSI.
    So I used lineGetGeneralInfo to get what I needed.
    This is just another way to get the MCC MNC values in a windows Mobile 5.0.

    I still dont understand your suggestion of upgrading the OS.
    It will be really nice if you could explain it to me.

    Regards,
    Keerthi
    Sunday, February 08, 2009 2:00 PM
  • even you do not have to go upto to that level. you will be able to get the mcc and mnc values from the RIL using RIL_GetCurrentOperator.
    For more information visit:

    This link contains code and article for the same.

    Ashwin Kanhere (http://www.ashwin.co.in)
    Friday, June 19, 2009 7:13 AM