27.22.1 Initialization of SIM Application Toolkit Enabled SIM by SIM Application Toolkit Enabled ME (Profile Download)
3GPP51.010-4Mobile Station (MS) conformance specificationPart 4: Subscriber Identity Module (SIM) application toolkit conformance test specificationRelease 17TS
27.22.1.1 Definition and applicability
See clause 3.2.2.
27.22.1.2 Conformance requirement
The ME shall support the PROFILE DOWNLOAD command as defined in:
– TS 11.14 [15] clause 5.2.
27.22.1.3 Test purpose
To verify that the ME sends a TERMINAL PROFILE command in accordance with the above requirements.
27.22.1.4 Method of test
27.22.1.4.1 Initial conditions
The ME is connected to the SIM Simulator. All elementary files are coded as the default Toolkit personalization, with the CHV1 enabled.
27.22.1.4.2 Procedure
Expected Sequence 1 (PROFILE DOWNLOAD)
Step |
Direction |
Message / Action |
Comments |
1 |
USER → ME |
Power on ME |
|
2 |
ME → USER |
PIN entry request |
|
3 |
USER → ME |
Enter "1111" |
|
… |
|||
4 |
ME → SIM |
VERIFY CHV1 1.1A |
[CHV1 code: "1111"] |
5 |
SIM → ME |
VERIFY CHV ATTEMPT UNSUCCESSFUL 1.1A |
|
… |
|||
6 |
ME → USER |
PIN entry request |
|
7 |
USER → ME |
Enter "1234" |
|
8 |
ME → SIM |
VERIFY CHV1 1.1B |
[CHV1 code: "1234"] |
9 |
SIM → ME |
NORMAL ENDING OF COMMAND 1.1A |
|
10 |
ME → SIM |
TERMINAL PROFILE 1.4 |
The ME shall have read EF PHASE prior to the Profile Download |
11 |
SIM → ME |
NORMAL ENDING OF COMMAND 1.1A |
|
12 |
ME → SIM |
SELECT EF IMSI 1.5 or |
|
VERIFY CHV1 : 1.1A
Logically:
Coding:
APDU: |
CLA=A0 |
INS=20 |
P1=00 |
P2=01 |
P3=08 |
DATA IN: |
31 |
31 |
31 |
31 |
FF |
FF |
FF |
FF |
VERIFY CHV1 ATTEMPT UNSUCCESSFUL: 1.1A
Logically:
Coding:
SW1=98 |
SW2=04 |
VERIFY CHV1: 1.1B
Logically:
Coding:
APDU: |
CLA=A0 |
INS=20 |
P1=00 |
P2=01 |
P3=08 |
DATA IN: |
31 |
32 |
33 |
34 |
FF |
FF |
FF |
FF |
NORMAL ENDING OF COMMAND: 1.1A
Logically:
Coding:
SW1=90 |
SW2=00 |
TERMINAL PROFILE: 1.4
Logically:
Coding:
APDU: |
CLA=A0 |
INS=10 |
P1=00 |
P2=00 |
P3=XX |
DATA IN: |
YY |
ZZ |
… |
With XX representing the length of the following DATA IN depending on the SIM Toolkit commands supported by the ME, and with YY, ZZ, … representing here the bytes of the TERMINAL PROFILE data, as specified in TS 11.14 [15], clause 5.2.
SELECT EF IMSI: 1.5
Logically:
Coding:
APDU: |
CLA=A0 |
INS=A4 |
P1=00 |
P2=00 |
P3=02 |
DATA IN: |
6F |
07 |
SELECT EF LOCI: 1.6
Logically:
Coding:
APDU: |
CLA=A0 |
INS=A4 |
P1=00 |
P2=00 |
P3=02 |
DATA IN: |
6F |
7E |
27.22.1.5 Test requirement
The ME shall operate in the manner defined in expected sequence 1.