27 Testing of the SIM/ME interface
3GPP51.010-1Mobile Station (MS) conformance specificationPart 1: Conformance specificationTS
The following sequence of tests confirms:
a) the correct interpretation of data read from the SIM (Subscriber Identification Module) by the ME;
b) the correct writing of data to the SIM by the ME;
c) the initiation of appropriate procedures by the ME;
d) low level protocols;
e) electrical characteristics;
f) physical characteristics.
NOTE 0: Throughout clause 27:
the term PCS 1 900 indicates GSM 710, GSM 750, T-GSM 810, GSM 850 and PCS 1 900 bands, which use 3-digit MNC
the term GSM indicates all other bands, which use 2-digit MNC.
A SIM simulator will be required as part of the SS. Alternatively, to perform the logical tests, SIMs programmed with specific data may be used. The SIM data is not defined within the initial conditions of the tests unless it differs from the default values defined below.
Definition of default values for SIM/ME interface testing
A SIM containing the following default values is used for all tests of this subclause unless otherwise stated.
For each data item, the logical default values and the coding within the elementary files (EF) of the SIM follow.
NOTE 1: Bx represents Byte x of the coding.
NOTE 2: Unless otherwise defined, the coding values are hexadecimal.
EFIMSI (IMSI)
Logically: 246813579
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
B9 |
05 |
29 |
64 |
18 |
53 |
97 |
FF |
FF |
FF |
EFLOCI (Location Information)
Logically: LAI-MCC: 246
LAI-MNC: 81 or 813 (see Note 0)
LAI-LAC: 0001
TMSI: "FF .. FF"
Coding:
Coding: |
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
B9 |
B10 |
B11 |
2-digit MNC |
FF |
FF |
FF |
FF |
42 |
F6 |
18 |
00 |
01 |
FF |
00 |
3-digit MNC |
FF |
FF |
FF |
FF |
42 |
36 |
18 |
00 |
01 |
FF |
00 |
EFKc (Ciphering Key Kc)
Logically: Key Kc: xx
Sequence No: 1
Coding: B1 B2 B3 B4 B5 B6 B7 B8 B9
xx xx xx xx xx xx xx xx 01
EFACC (Access Control Class)
Logically: One and only one access class from 0 – 9, e.g. class 7 for which the coding is "00 80".
EFFPLMN (Forbidden PLMNs)
Logically:
PLMN1 |
PLMN2 |
PLMN3 |
PLMN4 |
||
MCC |
234 |
234 |
234 |
234 |
|
MNC |
2-digit |
02 |
03 |
04 |
05 |
3-digit |
023 |
034 |
045 |
056 |
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
B9 |
B10 |
B11 |
B12 |
|
2-digit MNC |
32 |
F4 |
20 |
32 |
F4 |
30 |
32 |
F4 |
40 |
32 |
F4 |
50 |
3-digit MNC |
32 |
34 |
20 |
32 |
44 |
30 |
32 |
54 |
40 |
32 |
64 |
50 |
EFSST (SIM Service Table)
Logically: CHV1 disable function allocated and activated.
Abbreviated dialling numbers allocated and activated.
PLMN selector allocated and activated.
Fixed dialling numbers not activated.
Coding:
B1 |
B2 |
B3 |
B4 |
|
Value (binary) |
xx0x1111 |
0011xxxx |
xxxxxxxx |
0000xxxx |
The coding of EFSST shall conform with the capabilities of the SIM used.
EFADN (Abbreviated Dialling Number)
Logically:
At least 10 records, each non-empty record unique.
Record 1: Length of alpha identifier: 32 characters
Alpha identifier: "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF"
Length of BCD number: "03"
TON and NPI: Telephony and Unknown
Dialled number: 123
CCI: None
Ext1: None
Coding: |
B1 |
B2 |
B3 |
… |
B32 |
B33 |
B34 |
B35 |
B36 |
B37 |
B38 |
B39 |
… |
B46 |
Record 1: |
41 |
42 |
43 |
… |
46 |
03 |
81 |
21 |
F3 |
FF |
FF |
FF |
… |
FF |
EFPhase
Logically: Phase 2
Coding: "02"
EFPLMNsel (PLMN Selector)
Logically:
PLMN1 |
PLMN2 |
PLMN3 |
PLMN4 |
PLMN5 |
PLMN6 |
PLMN7 |
PLMN8 |
||
MCC |
234 |
234 |
234 |
234 |
234 |
234 |
246 |
246 |
|
MNC |
2-digit |
01 |
02 |
03 |
04 |
05 |
06 |
81 |
82 |
3-digit |
012 |
023 |
034 |
045 |
056 |
067 |
813 |
824 |
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
B0 |
B10 |
B11 |
B12 |
|
2-digit MNC |
32 |
F4 |
10 |
32 |
F4 |
20 |
32 |
F4 |
30 |
32 |
F4 |
40 |
3-digit MNC |
32 |
24 |
10 |
32 |
34 |
20 |
32 |
44 |
30 |
32 |
54 |
40 |
B13 |
B14 |
B15 |
B16 |
B17 |
B18 |
B19 |
B20 |
B21 |
B22 |
B23 |
B24 |
|
2-digit MNC |
32 |
F4 |
50 |
32 |
F4 |
60 |
42 |
F6 |
18 |
42 |
F6 |
28 |
3-digit MNC |
32 |
64 |
50 |
32 |
74 |
60 |
42 |
36 |
18 |
42 |
46 |
28 |
CHV1 (PIN)
Logically: 2468
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
32 |
34 |
36 |
38 |
FF |
FF |
FF |
FF |
CHV2 (PIN2)
Logically: 3579
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
33 |
35 |
37 |
39 |
FF |
FF |
FF |
FF |
Unblock CHV1 (PUK)
Logically: 13243546
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
31 |
33 |
32 |
34 |
33 |
35 |
34 |
36 |
Unblock CHV2 (PUK2)
Logically: 08978675
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
30 |
38 |
39 |
37 |
38 |
36 |
37 |
35 |
Definition of FDN SIM
Some test cases require a different configuration than the one described above. For that purpose a default FDN SIM is defined. In general the values of the FDN SIM are identical to the default SIM, with the following exceptions.
EFSST (SIM Service Table)
Logically: CHV1 disable function allocated and activated.
Abbreviated dialling numbers allocated and activated.
PLMN selector allocated and activated.
Fixed dialling numbers allocated and activated.
Advice of Charge allocated and activated.
Coding:
B1 |
B2 |
B3 |
B4 |
|
Value (binary) |
xx111111 |
0011xx11 |
xxxxxxxx |
0000xxxx |
The coding of EFSST shall conform with the capabilities of the SIM used.
EFFDN (Fixed Dialling Numbers)
Logically:
Record 1: Length of alpha identifier: 6 characters
Alpha identifier: "FDN111"
Length of BCD number: "06"
TON and NPI: Telephony and International
Dialled number: +1357924680
CCI: None
Ext1: None
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
B9 |
B10 |
|
For record 1: |
46 |
44 |
4E |
31 |
31 |
31 |
06 |
91 |
31 |
75 |
B11 |
B12 |
B13 |
B14 |
B15 |
B16 |
B17 |
B18 |
B19 |
B20 |
|
For record 1: |
29 |
64 |
08 |
FF |
FF |
FF |
FF |
FF |
FF |
FF |
Logically:
Record 2: Length of alpha identifier: 6 characters
Alpha identifier: "FDN222"
Length of BCD number: "04"
TON and NPI: Telephony and Unknown
Dialled number: 24680
CCI: None
Ext1: None
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
B9 |
B10 |
|
For record 2 |
46 |
44 |
4E |
32 |
32 |
32 |
04 |
81 |
42 |
86 |
B11 |
B12 |
B13 |
B14 |
B15 |
B16 |
B17 |
B18 |
B19 |
B20 |
|
For record 2 |
F0 |
FF |
FF |
FF |
FF |
FF |
FF |
FF |
FF |
FF |
Logically:
Record 3: Length of alpha identifier: 6 characters
Alpha identifier: "FDN333"
Length of BCD number: "0B"
TON and NPI: Telephony and International
Dialled number: +12345678901234567890
CCI: None
Ext1: None
Coding:
For record 3 |
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
B8 |
B9 |
B10 |
46 |
44 |
4E |
33 |
33 |
33 |
0B |
91 |
21 |
43 |
|
For record 3 |
B11 |
B12 |
B13 |
B14 |
B15 |
B16 |
B17 |
B18 |
B19 |
B20 |
65 |
87 |
09 |
21 |
43 |
65 |
87 |
09 |
FF |
FF |
Definition of GPRS SIM
Some test cases require a different configuration than the one described above. For that purpose a default GPRS SIM is defined. In general the values of the GPRS SIM are identical to the default SIM, with the following exceptions.
EFSST (SIM Service Table)
Logically: CHV1 disable function allocated and activated.
Abbreviated dialling numbers allocated and activated.
PLMN selector allocated and activated.
Fixed dialling numbers not activated.
GPRS allocated and activated.
Coding:
B1 |
B2 |
B3 |
B4 |
B5 |
|
Value (binary) |
xx0x1111 |
0011xxxx |
xxxxxxxx |
0000xxxx |
xxxxxxxx |
B6 |
B7 |
B8 |
B9 |
B10 |
|
xxxxxxxx |
xxxxxxxx |
xxxxxxxx |
xxxxxxxx |
xxxx11xx |
The coding of EFSST shall conform with the capabilities of the SIM used.
EFLOCIGPRS (GPRS Location Information)
Logically: RAI-MCC: 246
RAI-MNC: 81 or 813 (see Note 0)
RAI-LAC: 0001
RAI-RAC: 05
P-TMSI: "FF .. FF"
P-TMSI signature value: "FF .. FF"
Coding:
Coding: |
B1 |
B2 |
B3 |
B4 |
B5 |
B6 |
B7 |
2-digit MNC |
FF |
FF |
FF |
FF |
FF |
FF |
FF |
3-digit MNC |
FF |
FF |
FF |
FF |
FF |
FF |
FF |
Coding: |
B8 |
B9 |
B10 |
B11 |
B12 |
B13 |
B14 |
2-digit MNC |
42 |
F6 |
18 |
00 |
01 |
05 |
00 |
3-digit MNC |
42 |
36 |
18 |
00 |
01 |
05 |
00 |
EFKcGPRS (GPRS Ciphering Key KcGPRS)
Logically: Key KcGPRS: xx
Sequence No: 1
Coding: B1 B2 B3 B4 B5 B6 B7 B8 B9
xx xx xx xx xx xx xx xx 01