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.
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).
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.
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.
Forum posts: 142
yucca
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
Forum posts: 142
IMSI != IMEI
yucca
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
Forum posts: 49
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
Forum posts: 214
For series 80 you can use CTelephony from Etel3rdParty.h
CTelephony::TSubscriberIdV1Pckg * iPkg;
...
iTelephony->GetSubscriberId(iStatus, *iPkg );
...
retrievedIMSI = (*iPkg)().iSubscriberId; // Read IMSI from package buffer
"I only know that I know nothing." (Socrates)
Forum posts: 214
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)
Forum posts: 276
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 --
Forum posts: 123
Forum posts: 2
plz make it available