IMSI

Login to reply to this topic.
Mon, 2004-01-19 13:38
Joined: 2004-01-19
Forum posts: 1
Hello,
Is there a way to get the IMSI from the SIM card using the Symbian 7.0 SDK?

Gil.

Tue, 2004-01-20 04:26
Joined: 2003-04-01
Forum posts: 142
IMSI
I quess so. Haven't tried the way with Etelagsm.h, but I suppose it it blocked in 7.0. Anyway there are companies who say they can do it, but it also seems that they are symbian platinium partners, so I quess there is a way, but not for normal non-partner developers.

yucca
Tue, 2004-01-20 09:32
aljaz24 (not verified)
Forum posts: 2019
IMSI
Hey,

Reportedly it is possible to get the IMEI of the phone by using the function GetMachineIdL from plpvariant.h at least on the UIQ platform.Have not tried it though. Reportedly this h file is for partner use only on the Series 60 platform. It may also be possible using the functions in etelsat.h.

                                      Regards, Aljaz
Wed, 2004-01-21 04:07
Joined: 2003-04-01
Forum posts: 142
IMSI
dear aljaz24

IMSI != IMEI

yucca
Sun, 2004-08-29 14:30
Anonymous (not verified)
Forum posts: 2019
IMSI
GetMachineIdL works on Series 60 (Nokia 6600, at least), and the required header does come with the SDK although it's not documented, if I remember right.

In UIQ (Sony Ericsson P800/P900), both the IMEI and IMSI are written in text files:
C:\system\plpvar.ini
C:\system\data\imsi.txt
I don't know about other UIQ devices. GetMachineIdL might also work, I haven't tried it at all. The IMSI can be retrieved by RMobilePhone::GetMobileSubscriberId (from etelmm.h, which doesn't come with the SDK but various posts here have links to it).

Uriah
Mon, 2004-08-30 10:25
Joined: 2004-01-15
Forum posts: 49
IMSI
There's an article on NewLC (this site) on how to get IMSI on the P800, I can confirm that this works on the P900 too. Basically it is what Uriah suggested, getting it from a text file but the article has all the code too.

If you want it for Nokia devices then you'll have to get a hold of Etelagsm.h and Etelbgsm. h for pre 6600 devices; and Etelmm.h for 6600 and post 6600 devices.

Br, Ariz

Ariz M. Kohli

Thu, 2005-08-18 06:53
Joined: 2005-02-11
Forum posts: 214
Re: IMSI
For series 60 it's possible to get IMSI from RAdvGsmPhone (etelagsm.h)

For series 80 you can use CTelephony from Etel3rdParty.h

Code:
...
CTelephony::TSubscriberIdV1Pckg * iPkg;
...
iTelephony->GetSubscriberId(iStatus, *iPkg );
...
retrievedIMSI = (*iPkg)().iSubscriberId; // Read IMSI from package buffer

"I only know that I know nothing." (Socrates)

Thu, 2005-08-18 12:05
Joined: 2005-02-11
Forum posts: 214
Re: IMSI
Add-on...
For Series 60 7.0s (Nokia 6260 et al) I had to use RMobilePhone, because RAdvGsmPhone returned -5 (not supported).

"I only know that I know nothing." (Socrates)

Fri, 2005-09-16 17:46
Joined: 2005-02-24
Forum posts: 276
Re: IMSI
With new version of MOBINFO.DLL I succesfully read both IMEI and IMSI on my Motorola a1000:

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

Test programs:

MOBINFOTEST: (I can't compile it...)
http://developer.sonyericsson.com/getDocument.do?docId=68337


http://symbianos.org/~andreh/HelloWorld.zip


-- JumpJack --

Thu, 2005-11-17 13:04
Joined: 2003-10-10
Forum posts: 123
Re: IMSI
PLPVariant is deprecated on SE handsets and the new P990 doesnt use this at all. The IMSI and IMEI is available but only to Licensees. However the IMEI will be avilable through the 3rd party ETEL APIS.
Fri, 2007-02-23 22:49
Joined: 2006-11-19
Forum posts: 2
Re: IMSI
mobile info library is unavailable on given link
plz make it available
  • Login to reply to this topic.