Data 88 (SIM Card)¶
The information of SIM card in the terminal.
The frame format of the Data 88 unit is as follows:
For example (Total 20 bytes):
58 12 01 23 45 67 89 01 23 45 01 23 45 67 89 01 23 45 67 89
Parts |
Fields |
Length (Byte) |
Range/Format |
Default |
|---|---|---|---|---|
ID |
Data ID |
1 |
58H (88) |
58H (88) |
Length |
Data Length |
1 |
00H-7FH |
|
Content |
IMSI |
8 |
||
ICCID |
N |
IMSI
International Mobile Subscriber Identity. Expressed in packed BCD (Binary-Coded Decimal), where each decimal digit is represented by a 4-bit field. Since IMSI has 15 digits, a 0 is added at the beginning so that it can be represented by a BCD code with a length of 8 bytes.
For example, 0123456789012345H indicates IMSI “123456789012345”.
ICCID
Integrated Circuit Card Identity.
This field supports two expressions to represent the ICCID:
The ICCID usually consists of 20 digits, so it can be expressed in a 10 bytes packed BCD (Binary-Coded Decimal) code, where each decimal digit is represented by a 4-bit field. For example, the ICCID “01234567890123456789” is represented by 01 23 45 67 89 01 23 45 67 89.
The ICCID may also contains letters, so it can be expressed as a string, with the first byte fixed as FFH, the second byte being the length of the ICCID string, and the ICCID string starting at the third byte. For example, the ICCID “898600801919C5600800” is represented by FF 14 38 39 38 36 30 30 38 30 31 39 31 39 43 35 36 30 30 38 30 30.