there is no working code about IMSI for 6600 WHY???

Login to reply to this topic.
Thu, 2005-05-05 09:04
Joined: 2005-04-25
Forum posts: 10
In the eric web sites this code doesnt work:
CTelephony telephony = CTelephony::NewL();
TRequestStatus status;
CTelephony::TSubscriberIdV1 subscriberId;
CTelephony::TSubscriberIdV1Pckg subscriberIdPckg(subscriberId);
telephony->GetSubscriberId(status, subscriberIdPckg));
User::WaitForRequest(status);
User::LeaveIfError(status);
TPtrC theIMSI(subscriberId.iSubscriberId);

///////////////////////////////////////////////////

The i ve forund this code from http://db.cs.helsinki.fi/~mraento/lxr/source/context_log/src/locationing.cpp

 RMobilePhone phone;
082         RTelServer::TPhoneInfo info;
083         TInt ret;
084         if ( (ret=TelServer().GetPhoneInfo( 0, info ))==KErrNone) {
085                 if ((ret=phone.Open( TelServer(), info.iName ))==KErrNone) {
086                         CleanupClosePushL(phone);
087                         RMobilePhone::TMobilePhoneSubscriberId i;
088                         TRequestStatus r;
089                         phone.GetSubscriberId(r, i);
090                         User::WaitForRequest(r);
091                         if (r==KErrNone) {
092                                 imsi=i;
093                                 success=true;
094                         } else {
095                                 TBuf<80> msg=_L("error getting imsi ");
096                                 msg.AppendNum(r.Int());
097                                 msg.Append(_L(" ")); msg.Append(i);
098                                 if (cb) cb->status_change(msg);
099                         }


There are some virtual funtions and when i can use them in GUI app, there gives an error that about abstrac class, see decleration..(in container or APpui Class for ex..)
/////////////////////////////////////////

Also i tried some codes from nokia forum which includes RAdvgsm class..
This class is for platform 1.0/ or 1.2 not used for 6600

So plz help me, i ve get rid of searching and getting errors...

Thu, 2005-05-05 13:54
Joined: 2005-04-19
Forum posts: 28
there is no working code about IMSI for 6600 WHY???
Can you find the answear???
Also i tried many codes but i can not be succesfull...


Is there anybody succesfull getting IMSI number from 6600 Huh?
Fri, 2005-05-06 03:09
Joined: 2004-05-31
Forum posts: 51
there is no working code about IMSI for 6600 WHY???
Have you tried the Symbian Mobinfo 3rd Party Telephony Library component?

http://www.symbian.com/developer/development/syslibs.html#mobinfo

B
Sat, 2005-05-07 18:08
Joined: 2005-04-25
Forum posts: 10
there is no working code about IMSI for 6600 WHY???
I think mobinfo is for anly uiq 2. and 2.1 phones not for series 60...

AM I WRONG?Huh

IF SO, PLZ HELP MEEEEEE!!!!
Mon, 2005-05-09 03:01
Joined: 2005-04-27
Forum posts: 77
Re: there is no working code about IMSI for 6600 WHY???
The CTelephony will not work on Nokia Symbian OS even the latest 6680 also do not have the ETel3rdparty.dll install.
Mon, 2005-05-09 12:23
Joined: 2005-04-25
Forum posts: 10
there is no working code about IMSI for 6600 WHY???
So what gonna i do??

i have a graduated project and i have to take imsi for 6600...

is there anybody that can succes taking IMSI number on 6600?Huh

PLZ HEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEELP!!!!!!!!!!!!!!!!!!!!!!!
Mon, 2005-05-09 13:48
Joined: 2005-04-25
Forum posts: 10
there is no working code about IMSI for 6600 WHY???
Didster plz help me....
Mon, 2005-05-09 13:54
Joined: 2004-07-28
Forum posts: 1379
there is no working code about IMSI for 6600 WHY???
lol.  I do love it when no one answers these questions, people put little "didster help" notes at the end.

Well, If I had an answer you liked to this question, i would have posted it.  Alas, I don't.  I do know how to get the IMEI number of early 7.0s phones, but this is using non-public librarys.

Most methods have been disclosed at somepoint on various forums, but most rely on headers/libs not offically released from Symbian.

I'm affraid the only way I could help you is to send you the headers and libs you need to do it, and thats not something I'm willing to do for obvious reasons - there not offically public domain.

That example code should work on a 6600 (you need to tidy it up a bit), but you will need the relavant headers and libs to build it.  They are on the web somewhere, i think, so see if you can find them.  Once you find them, I can help you get that code working.

didster

Mon, 2005-05-09 14:00
Joined: 2005-04-25
Forum posts: 10
there is no working code about IMSI for 6600 WHY???
Cheezy  thanks for answearing Didster..

do u mention about the first code or the second??

if you mentioned the second one, how can i get rid of virtual funtions?
As the TelServer() is a virtual funtion and i can not declare it in any gui class...
Mon, 2005-05-09 14:14
Joined: 2004-07-28
Forum posts: 1379
there is no working code about IMSI for 6600 WHY???
TelServer() just returns a connected instance of a RTelServer I would imagine.

So:

Code:

RMobilePhone phone;
RTelServer aTelServer;
aTelServer.Connect();
RTelServer::TPhoneInfo info;
TInt ret;
if ( (ret=aTelServer.GetPhoneInfo( 0, info ))==KErrNone) {
if ((ret=phone.Open( aTelServer, info.iName ))==KErrNone) {
CleanupClosePushL(phone);
RMobilePhone::TMobilePhoneSubscriberId i;
TRequestStatus r;
phone.GetSubscriberId(r, i);
User::WaitForRequest(r);
if (r==KErrNone) {
imsi=i;
} else {
TBuf<80> msg=_L("error getting imsi ");
aTelServer.Close();


didster

Wed, 2005-12-28 10:09
Joined: 2005-08-19
Forum posts: 165
Re: there is no working code about IMSI for 6600 WHY???
is there an updated version of etelmm.h?

how come when i'm trying to use your code i get:

TMobilePhoneSubscriberId is not a member of RMobilePhone

is there a library that i should link with etelmm.h?

thanks..

were you able to get the imsi of 6600?

b Afro o Afro b Afro
Wed, 2005-12-28 11:04
Joined: 2005-03-04
Forum posts: 176
Re: there is no working code about IMSI for 6600 WHY???
Another solution is to ask the internal GSM/GPRS module with AT-commands by serial line (AT+CIMI)...
To send the command you will find working code in the forum, but receiving the answer is a little bit tricky. But it is possible with official header and libs!  Sorry i couldnt send you the code (owned by my company), but if you got a the right line and open a call-object with the line, there is a official command (with the call) to get the answers of the modem.

Hope this will help;
CG
Wed, 2005-12-28 11:21
Joined: 2005-08-19
Forum posts: 165
Re: there is no working code about IMSI for 6600 WHY???
Quote from: CG
Another solution is to ask the internal GSM/GPRS module with AT-commands by serial line (AT+CIMI)...
To send the command you will find working code in the forum, but receiving the answer is a little bit tricky. But it is possible with official header and libs!  Sorry i couldnt send you the code (owned by my company), but if you got a the right line and open a call-object with the line, there is a official command (with the call) to get the answers of the modem.

Hope this will help;
CG
Thanks!  Afro
hmmm. sorry for me.. well, i'm just asking if TMobilePhoneSubscriberId is somewhere in etelmm.h...
i tried to look for it in the etelmm.h that i have, but there isn't any... is there a higher version or full version of it???
Wed, 2005-12-28 11:34
Joined: 2005-03-04
Forum posts: 176
Re: there is no working code about IMSI for 6600 WHY???
Yes, there is a cut-down version from Symbian... The complete (but not public) header is around 90K big. If you want to try didsters way, search for etelmm,  i'm sure you will find the non-public versions...

Bye;
CG
Sat, 2006-01-07 00:42
Joined: 2005-03-14
Forum posts: 91
Re: there is no working code about IMSI for 6600 WHY???
Quote from: knight
I think mobinfo is for anly uiq 2. and 2.1 phones not for series 60...

AM I WRONG?Huh

IF SO, PLZ HELP MEEEEEE!!!!
Quote

No, you are not wrong, MobInfo has (apparently) been built for UIQ2.x.

However, try it on your 6600..... It works just fine for me getting the IMSI from S60 handsets, including the 6600, so the APIs Symbian is using inside Mobinfo must be binary compatible S60/UIQ.

---
Kevin Dixon
Symsource Ltd.
www.symsource.com

Mon, 2006-01-09 11:15
Joined: 2005-04-18
Forum posts: 31
Re: there is no working code about IMSI for 6600 WHY???
Quote

No, you are not wrong, MobInfo has (apparently) been built for UIQ2.x.

However, try it on your 6600..... It works just fine for me getting the IMSI from S60 handsets, including the 6600, so the APIs Symbian is using inside Mobinfo must be binary compatible S60/UIQ.

Mobinfo is now available for most phones:
http://www.symbian.com/developer/development/syslibs.html#mobinfo
Quote
This updated version 1.01 supports Symbian OS v7.0, v7.0s, 8.0a and v8.1a devices running any of the Series 60, Series 80 or UIQ user interface platforms. Note that for Symbian OS v9 onwards, the more extensive standard ETel3rdParty (CTelephony) API should be used instead.

Gavin
  • Login to reply to this topic.