Determining Cell IDs, Signal Strength etc. in Cell Phones

Login to reply to this topic.
Tue, 2003-05-13 12:23
Joined: 2003-05-13
Forum posts: 55
Hi,
  I am a newbie to Symbian OS C++ Programming. I recently saw a posting on the Nokia website regarding a tool miniGPS that they have built for the Series 60 I think. Can someone tell me how is it possible to extract the Cell ID (that is the current Cell to which the phone is logged in), Signal Strength and other info from the  Cell Phone using Symbian OS C++ and/or J2ME (MIDP Java). This is possible since Nokia's miniGPS uses this but what are the APIs/Functions/Methods etc. that should be used to get this info? Nokia's site has only the compiled code but no source  Cry So anyone with any idea as to how to do this, pls do tell me. Thanx a lot. Regards, RAL.

Wed, 2003-05-14 07:12
Joined: 2003-04-01
Forum posts: 142
Determining Cell IDs, Signal Strength etc. in Cell Phones
Hi Coolral

check the nokai site again, I wrote a samll sample code to get the cellID there, that should get you started and by checking the header files you should also be able to find a solution for getting the other informations you are requesting.

yucca
Wed, 2003-05-14 09:48
Joined: 2003-05-13
Forum posts: 55
Determining Cell IDs, Signal Strength etc. in Cell Phones
hi yucca,
  got ur code on the nokia forum. have not tried it as yet but am going to do it now. for others who may be interested, the link is

http://discussion.forum.nokia.com/forum/showthread.php?s=09194a1d5a4a2f60a165e6250d2e54ef&threadid=19693

thanx a lot.
regards, coolral.
Tue, 2003-05-20 14:24
Joined: 2003-05-13
Forum posts: 55
Classes missing
hi yucca,
  i don't know whether i am missing something or not but am facing the following problem.
  i have series 60 sdk 6.1 by nokia installed on my comp. when i go throught he documentation and class hierarchy, i am unable to find the classes : RBasicGsmPhone, MBasicGsmPhoneNetwork and TCurrentNetworkInfo.
 Since i do not have a phone right now, i was just thinking of going through the code of the above classes as u suggested so that i could find out ways of getting the info. But in the SDK documentation at least, these classes do not exist. Am checking the files now. Can u suggest something. thanx, rahul.
Tue, 2003-05-20 14:27
Joined: 2003-05-13
Forum posts: 55
correction
sorry, the symbian os version is 6.1 and the version of the series 60 sdk from nokia is 0.9. rahul.
Tue, 2003-05-20 14:46
Joined: 2003-05-13
Forum posts: 55
missing classes
hi,
 it seems that these classes i mentioned are there in .lib files but i cannot find any header files for these. ie cannot find any source nor documentaion for the same. any help is welcome. thanx, rahul.
Wed, 2003-05-21 04:00
Joined: 2003-04-01
Forum posts: 142
Determining Cell IDs, Signal Strength etc. in Cell Phones
Hi

The header file you are looking for is etelbgsm.h. You can find it from Nokia 9200 SDK at least in some older versions. Or you can search with google and find that some people have put it downloadable in the net.

You might encounter header file etelgprs.h missing also. that one you have to do by you self by writing following lines to text file:


#ifndef __ETELGPRS_H__
#define __ETELGPRS_H__

class RGprs : public RTelSubSessionBase
  {
public:
  enum TSmsBearer
     {
     ESmsBearerGprsOnly,
     ESmsBearerCircuitSwitchedOnly,
     ESmsBearerGprsPreferred,
     ESmsBearerCircuitSwitchedPreferred
     };
  };

#endif

hopet his gets you back on track.

yucca
Tue, 2003-06-17 14:05
Anonymous (not verified)
Forum posts: 2019
Determining Cell IDs, Signal Strength etc. in Cell Phones
hi yucca,
   am using ur code from the nokia forum site. since have not bought a phone till now so not able to test it. but i checked out etelbgsm.h and from that it seems that the following lines should be as i have written them.

aLocation = NetworkInfo.iLocationAreaCode;  /* INITIALLY aLocation = NetworkInfo.iNetworkInfo.iLocationAreaCode;*/

aCellId = NetworkInfo.iCellId;              /* INITIALLY aCellId = NetworkInfo.iNetworkInfo.iCellId;*/

But since one user has got this to work, so am confused till I check on the phone itself. But can u tell me, am I missing something here. thanx a lot. cheers, coolral.
Wed, 2003-06-18 03:44
Joined: 2003-04-01
Forum posts: 142
Determining Cell IDs, Signal Strength etc. in Cell Phones
Hi

thank you for pointing this out. Propably just my mistake. I infact just wrote it and put it there, newer indeed testes it, so I quess I left those there by mistake.

yucca
Tue, 2003-07-08 17:09
Joined: 2003-05-13
Forum posts: 55
Which Libraries to Link to?????
hi yucca,
  which library shud i link to when using these functions for determining the cell id. currently, i am including etelbgsm.h and linking to etel.lib but am getting unresolved externals errors. can u give me some idea abt the library to link to. thanx a lot, coolral.
Wed, 2003-07-09 03:33
Joined: 2003-04-01
Forum posts: 142
Determining Cell IDs, Signal Strength etc. in Cell Phones
Hi Coolrat

Could you copy the error messages here, so I could see which objects are cousing you to have unresolved externals ?

yucca
Wed, 2003-07-09 09:20
Anonymous (not verified)
Forum posts: 2019
Determining Cell IDs, Signal Strength etc. in Cell Phones
hi yucca,
 i have replied to ur post on the nokia forum with the error messages. thanx a lot for ur help. cheers, coolral.
Fri, 2003-11-21 15:56
Anonymous (not verified)
Forum posts: 2019
Determining Cell IDs, Signal Strength etc. in Cell Phones
Quote from: Anonymous
hi yucca,
    am using ur code from the nokia forum site. since have not bought a phone till now so not able to test it. but i checked out etelbgsm.h and from that it seems that the following lines should be as i have written them.

aLocation = NetworkInfo.iLocationAreaCode;  /* INITIALLY aLocation = NetworkInfo.iNetworkInfo.iLocationAreaCode;*/

aCellId = NetworkInfo.iCellId;              /* INITIALLY aCellId = NetworkInfo.iNetworkInfo.iCellId;*/

But since one user has got this to work, so am confused till I check on the phone itself. But can u tell me, am I missing something here. thanx a lot. cheers, coolral.
Mon, 2004-06-14 10:00
Joined: 2004-05-20
Forum posts: 308
Determining Cell IDs, Signal Strength etc. in Cell Phones
Hi
What we get on phone is the locatin string and not a no.
How can i get that location string in SYmbian Huh?
or even if i get Cell ID , how is that mapped to location String ?

thanks
Amit

Thanks

Amit

Sat, 2008-02-09 22:59
Joined: 2008-02-09
Forum posts: 1
Re: Determining Cell IDs, Signal Strength etc. in Cell Phones

Hi there.
has anybody idea how to get not only one cell signal strength but and few others?

  • Login to reply to this topic.