Convert To Meid

A mobile equipment identifier (MEID) is a globally unique number identifying a physical piece of CDMA2000 mobile station equipment. The number format is defined by the 3GPP2 report S.R0048 but in practical terms, it can be seen as an IMEI but with hexadecimal digits.

Regional codeManufacturer codeSerial numberCD
RRXXXXXXZZZZZZC

Unique identifier can be understood as a global unique identifier (GUID), which can be initialized using the newid function to convert string constants into the following form ( xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx), where each x is a hexadecimal number in the range of 0-9 or a-f). MEID numbers can also have an optional check digit, which would be in addition to the 14 hexadecimal digits, and not considered to be part of the serial number. Each IMEI number consists of 15 digits (14 digits along with 1 check digit). Unlike the check digit on the MEID, the check digit on the IMEI is considered to be part of the serial number. MEID CONVERTER (PC Based) HowardForums is a discussion board dedicated to mobile phones with over 1,000,000 members and growing! For your convenience HowardForums is divided into 7 main sections; marketplace, phone manufacturers, carriers, smartphones/PDAs, general phone discussion, buy sell trade and general discussions.

An MEID is 56 bits long (14 hexadecimal digits). It consists of three fields, including an 8-bit regional code (RR), a 24-bit manufacturer code, and a 24-bit manufacturer-assigned serial number. The check digit (CD) is not considered part of the MEID.

The MEID was created to replace ESNs, whose virgin form was exhausted in November 2008.[1] As of TIA/EIA/IS-41 Revision D and TIA/EIA/IS-2000 Rev C, the ESN is still a required field in many messages—for compatibility, devices with an MEID can use a pseudo-ESN (pESN), which is a manufacturer code of 0x80 (formerly reserved) followed by the least significant 24 bits of the SHA-1 hash of the MEID.[2] MEIDs are used on CDMA mobile phones. GSM phones do not have ESN or MIN, only an International Mobile Station Equipment Identity (IMEI) number.

Obtaining the MEID[edit]

Commonly, opening the phone's dialler and typing *#06# will display its MEID.[3]

Administration[edit]

The separation between international mobile equipment identifiers (IMEIs) used by GSM/UMTS and MEIDs is based on the number ranges. There are two administrators: the global decimal administrator (GDA) for IMEIs and the global hexadecimal administrator (GHA).

As of August 2006, the TIA acts as the GHA to assign MEID code prefixes (0xA0 and up), and the GSM Association acts as the global decimal administrator. http://www.babt.com/gsm-imei-number-allocation.asp723889TIA also allocates IMEI codes, specifically destined for dual-technology phones, out of the RR=99 range. Other administrators working under GSMA may also allocate any IMEI for use in dual-technology phones. Every IMEI can also be used as an MEID in CDMA2000 devices (as well as in single-mode devices designed with GSM or other 3GPP protocols) but MEID codes may also contain hexadecimal digits and this class of MEID codes cannot be used as an IMEI.

Display formats[edit]

There are two standard formats for MEIDs, and both can include an optional check-digit. This is defined by 3GPP2 standard X.S0008.

The hexadecimal form is specified to be 14 digits grouped together and applies whether all digits are in the decimal range or whether some are in the range 'A'–'F'. In the first case, all digits are in the range '0'–'9', the check-digit is calculated using the normal base 10 Luhn algorithm, but if at least one digit is in the range 'A'–'F' this check digit algorithm uses base 16 arithmetic. The check-digit is never transmitted or stored. It is intended to detect most (but not all) input errors, it is not intended to be a checksum or CRC to detect transmission errors. Consequently, it may be printed on phones or their packaging in case of manual entry of an MEID (e.g. because there is no bar code or the bar code is unreadable).

The decimal form is specified to be 18 digits grouped in a 5–5–4–4 pattern and is calculated by converting the manufacturer code portion (32 bits) to decimal and padding on the left with '0' digits to 10 digits and separately converting the serial number portion to decimal and padding on the left to 8 digits. A check-digit can be calculated from the 18 digit result using the standard base 10 Luhn algorithm and appended to the end. Note that to produce this form the MEID digits are treated as base 16 numbers even if all of them are in the range '0'–9'.

pESN conflicts[edit]

Because the pESN is formed by a hash on the MEID there is the potential for hash collisions. These will cause an extremely rare condition known as a 'collision' on a pure ESN-only network as the ESN is used for the calculation of the Public Long Code Mask (PLCM) used for communication with the base-station. Two mobiles using the same pESN within the same base-station area (operating on the same frequency) can result in call setup and page failures.

The probability of a collision has been carefully examined.[4] Roughly, it is estimated that even on a heavily loaded network the frequency of this situation is closer to 1 out of 1 million calls than to 1 out of 100 000.

3GPP2 specification C.S0072 provides a solution to this problem by allowing the PLCM to be established by the base station. It is easy for the base station to ensure that all PLCM codes are unique when this is done. This specification also allows the PLCM to be based on the MEID or IMSI.

Meid

A different problem occurs when ESN codes are stored in a database (such as for OTASP). In this situation, the risk of at least two phones having the same pseudo-ESN can be calculated using the birthday paradox and works out to about a 50 per cent probability in a database with 4,800 pseudo-ESN entries. 3GPP2 specifications C.S0016 (Revision C or higher) and C.S0066 have been modified to allow the replacement MEID identifier to be transmitted, resolving this problem.

Convert To Midi

Another problem is that messages delivered on the forward paging channel using the pESN as an address could be delivered to multiple mobiles seemingly randomly. This problem can be avoided by using mobile identification number (MIN) or IMSI based addressing instead.

Code to convert[edit]

This short Python script will convert an MEID to a pESN.

The CDG also provides a javascript calculator with more conversion options.

This C# method will convert an MEID from HEX to DEC format (or return empty for an invalid MEID HEX value)

References[edit]

  1. ^'ESN Migration to MEID – Milestones & Timeline', The Telecommunications Industry Association (TIA), 30 November 2011
  2. ^'Devices: MEID & EUIMID'. CDG. Retrieved 29 May 2018.
  3. ^Bader, Daniel (21 March 2017). 'How to make sure your phone works on a prepaid alternative carrier'. iMore. Retrieved 24 October 2017.
  4. ^Pellegrino G, Quick F. White Paper on Pseudo-ESN Collisions. TIA. 26 May 2005.

External links[edit]

Convert To Midi Free

Retrieved from 'https://en.wikipedia.org/w/index.php?title=Mobile_equipment_identifier&oldid=1026883757'

Notes:

  • For convenience with a test vector any input beginning with two hyphens (--) is treated as a comment and output as a header line.
  • An asterisk ('*') at the end of a digit string indicates that a check digit should be calculated. This is most useful for ICCID/LF_EUIMID because it is not always possible for the calculator to determine whether a check digit is included in non-standard ICCID numbers (19 or 20 digits).
  • IMEI codes (14 digit codes with all decimal digits) are treated as hexadecimal numbers when the 18 digit format is calculated. The check digit is, however, calculated using the decimal Luhn algorithm for both 14 and 18 digit formats.
  • The pUIMID for an ICCID is calculated from a 20 digit string. If the input is 18 digits a calculated check digit and a single 'F' digit are added. If the input is 19 digits the last digit is checked to make sure it is a valid check digit and a single 'F' digit is added. If the 19th digit is not a check digit add '*' to the end.
  • This calculator incorporates a SHA-1 implementation copyright 2002-2005 by Chris Veness, licensed under LGPL.
  • This calculator is provided as is, without warranties of any kind.
  • This calculator has been tested for Explorer and FireFox on Windows and Safari, Firefox and Explorer on the Mac.
  • The pESN and pUIMID values for IMEI codes were not correct in version 1.3.
  • The pESN and pUIMID values will be incorrect in the rarely used Mac version of Internet Explorer.
  • Please contact meid@cdg.org if any errors are found and we will attempt to correct them. Suggestions for improvements are also welcome.

Version 1.6: February, 2012