Login


    All about IMEI number

Symbians Miscellaneous stuff, ka' sta su theme, wallpaperi, clipovi, icone, fontovi, i sl.

Postby Apocalypso » 30 Sep 2005, 05:16


All about IMEI code


:artic:
The IMEI, short for International Mobile Equipment Identity, is a unique number given to every single mobile phone [1]. It is not modifiable by the user and a written copy of it can typically found behind the battery. It can also be displayed on screen by entering the *#06# key sequence.
Depending on your mobile, this number can have two different formats (the old and the new format:


:arrow: aabbbb-cc-dddddd-e if your mobile has been manufactured before April 1st 2004.

:arrow: xxxxxxxx-dddddd-e if your mobile has been manufactured after this date.



:artic:
The old IMEI format

The format aabbbb-cc-dddddd-e was in use until April 1st 2004. Its meaning is:
aabbbb is the Type Approval Code (TAC). The first two digits (aa) represent the country code.
The second group of numbers (cc) is the Final Assembly Code (FAC). This identifies the device manufacturer [2]:
01,02 = AEG
07,40 = Motorola
10,20 = Nokia
30 = Ericsson
40,41,44 = Siemens
50 = Bosch
51 = Sony, Siemens, Ericsson
60 = Alcatel
61 = Ericsson
65 = AEG
70 = Sagem
75 = Dancall
80 = Philips
85 = Panasonic
    dddddd represents the device serial number (SNR)
    the last single digit (e) is an check digit (usually set to 0).




:artic:
The new IMEI format

The new format xxxxxxxx-dddddd-e is used since 1st April 2004. The FAC value has disappeared and the Type Approval Code has been be replaced by a Type Allocation Code (TAC in both cases):
    xxxxxxxx is a eight digit number: the Type Allocation Code.
    dddddd and e have the same meaning as in the old format.




:artic:
Retrieving the IMEI code on a Symbian device

Here is a small function that let you retrieve the IMEI of a device (link against plpvariant.lib):
Code: Select all
#include <plpvariant.h>

void DeviceUtils::GetImei(TDes& aImei)
{
#ifndef __WINS__
  // This only works on target machine
  TPlpVariantMachineId imei;
  PlpVariant::GetMachineIdL(imei);
  aImei.Copy(imei);
#else
  // Return a fake IMEI when working on emulator
  _LIT(KEmulatorImei, "000000000000000");
  aImei.Copy(KEmulatorImei);
#endif
}


Hope this helps

Sincerely yours,
Apoc


:arrow: Read rules
:arrow: Try search feature
:arrow: Take a look at unanswered posts
=========================
Don't take life toooo seriously, you're not going to survive it anyway ;)
Site Admin
Site Admin

Posts: 40326

Joined: 20 Jan 2005, 09:03

Location: In front of my monitor



Postby mirkocrocop » 30 Sep 2005, 19:15


I would just like to add this site
Code: Select all
http://www.numberingplans.com/?page=analysis&section=imeinr

This is very good site to make analysis on your IMEI :wink:
Symbian Freak
Symbian Freak

Posts: 2066

Joined: 18 Feb 2005, 22:33

Location: Sesvete, Zagreb, Croatia



Return to [CRO] Miscellaneous

Who is online

Users browsing this forum: No registered users and 0 guests

User Menu

Online Friends

Birthdays