×

Discussion Board

Page 1 of 21 1234567891011 ... LastLast
Results 1 to 15 of 313
  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    4

    retrieve GSM cell id

    How can I retrieve the current GSM cell id my phone is in? I'd like to write a program for my Series 60 that does this.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    196

    Not possible

    There are no developer tools to access the network information.

    Ari / Forum Nokia

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    4

    miniGPS


  4. #4
    Registered User
    Join Date
    May 2003
    Location
    Johannesburg, South Africa
    Posts
    8

    ETel

    I'm not sure, I have been searching for this myself. I think the terminology that we are using is incorect. We are searching for the words "cell id". But I think it is something totally different. Write a small app that displays the .info information of the different Objects for the classes RLine, RCall, RPhone. I believe that you will find it within these classes.

    Please let me know if you found it. I would also like the answer. I see that a lot of people would like to know.... look at the numer of views on your thread.

    WAldo

  5. #5
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Berlin, Germany
    Posts
    58
    hi!

    the following information that might give you some answers..


    first, download the etelbgsm.h here:

    http://nokiafree.org/forums/t17750/s...c013b37f5.html

    it will give you the interface to the gsm stuff. it's not part of the sdk anymore. don't know why.. (search for etelbgsm on google if the link doesn't work..)


    then check out this for an example on how to work with the api:

    http://www3.symbian.com/faq.nsf/f6fb...ght=2,etelbgsm

    i *guess* retrieving the NMEI and getting the CellID is somewhat the same.. ;-) again, if the link does not work, search for NMEI in the symbian dev knowledge base..


    please note: i didn't work with this stuff, yet. but as i am working on a navigation application this is on my todo list.. :-\

    anyway, i have the feeling this cell-id information stuff is somewhat "restricted" by symbian and nokia ppl!?

    btw: there are alternatives like "wap push" or "wmlscript" for retrieving cell/network information. but i didn't look into that, yet..


    regards,

    tfdj

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165
    Hi

    Here's Small Sample of how to get the CellId, Didn't really test it through, but used part of it in some of my earlier projects, so should work:

    have fun;
    yucca

    //******************code***************************8

    void CMyClass::GetNetWorkInfoL(TInt& aMcc, TInt& aMnc, TInt& aLocation, TInt& aCellId)
    {
    TInt Ret, enumphone = 1;
    RTelServer server;
    RBasicGsmPhone phone;
    RTelServer::TPhoneInfo info;
    MBasicGsmPhoneNetwork::TCurrentNetworkInfo NetworkInfo;


    User::LeaveIfError(server.Connect());
    CleanupClosePushL(server);
    User::LeaveIfError(server.LoadPhoneModule(KTsyName));
    User::LeaveIfError(server.EnumeratePhones(enumphone));

    if (enumphone < 1)
    {
    User::Leave(KErrNotFound);
    }

    User::LeaveIfError(server.GetPhoneInfo(0, info));

    User::LeaveIfError(phone.Open(server, info.iName));
    CleanupClosePushL(phone);

    User::LeaveIfError(phone.GetCurrentNetworkInfo(NetworkInfo));


    aMcc = NetworkInfo.iNetworkInfo.iId.iMCC;
    aMnc = NetworkInfo.iNetworkInfo.iId.iMNC;
    aLocation = NetworkInfo.iNetworkInfo.iLocationAreaCode;
    aCellId = NetworkInfo.iNetworkInfo.iCellId;

    CleanupStack::PopAndDestroy(2);//server,phone
    }

  7. #7
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Munich, Germany
    Posts
    76
    Hi yucca,

    I tried your code on a 7650 but I have the problem that my application panics when executing the line:

    User::LeaveIfError(server.LoadPhoneModule(_L("gsmbsc")));

    Is there anything wrong with the phone module name?
    Last edited by Juggle4Evr1; 2003-05-12 at 09:47.

  8. #8
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165
    Hi

    Yes it does, thats because you don't have gsmbsc.tsy file installed in your phone, try "Phonetsy.tsy" instead, it should work perfectly.

    yucca

  9. #9
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Munich, Germany
    Posts
    76
    Yes it does. Thanks a lot!!

  10. #10
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Berlin, Germany
    Posts
    58
    hi yucca!

    very interesting read :-)

    what i'd be interested in now is: how do i get me some geographic location from the cell-ID? is that possible? is that the right way? i have heard there are lists available mapping the cell-ID to a geographic location!?

    any idea?

    regards,

    tfdj

  11. #11
    Registered User
    Join Date
    May 2003
    Location
    Finland
    Posts
    1

    Cell ID and Location

    Interesting question:
    Geographical location of Cell ID!

    This is something where the operators location service based. Unless you don't have Network planning system (as Nokia NPS/x) the only way to get this mapping is do it yourself.

    ie. Go outside and collect Cell-ID's (via mobile and PC connectivity) and position (GPS).
    After that "outside" job estimate Cell ID's coverage area using general map, GPS and Cell ID.

    That's it for Do-It-Yourself: Cell ID based Location Service.

    Juha

  12. #12
    Registered User
    Join Date
    Jun 2003
    Posts
    10
    Good to see someone cracked this nut.

    In answer to obtainined pseudo-GPS information, I think mapping your Cell ID's is the only way to go.

    This guy is my personal hero: http://home.iprimus.com.au/cridland/

    He's actually *photographed* every Cell tower he can find, and has manually cataloged over 408 cell towers in his area.

    Notable, he mentions that (in Australia at least) the last digit of the Cell ID is 7, 8, 9 and refers to a direction of transmission. So therefore if can determine you are present NORTH of cell tower X, and were previous WEST of cell tower Y, then you can get more accurate co-ordinates.

    Cyrus

  13. #13
    Registered User
    Join Date
    Jun 2003
    Posts
    10
    I just installed PSILoc mingps (http://my-symbian.com/7650/applicati...=2&fldAuto=279)

    Question: why does it require rebooting of the phone?!

    Is it hacking up some part of my Symbian O/S to provide it's services?

    Cyrus

  14. #14
    Registered User
    Join Date
    May 2003
    Posts
    20

    Libraries: Which one????

    Hi,
    for those who were able to get yucca's code to work, can u tell me which library must I link to for the functions. I am including etelbgsm.h and linking to etel.lib but still getting unresolved external symbol errors. can someone help???? thanx a lot, cheers, rahul.

  15. #15
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165
    Hi

    Which unresolved externals symbols you have missing ?
    Could you just copy-paste the error messages.

    yucca

Posting Permissions

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