Professional Documents
Culture Documents
0 (2022-02)
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
0 0 0 0 0 - - - Currently selected EF
X X X X X - - - Short File Identifier
1 1 1 1 1 - - - RFU
- - - - - 0 X X RFU (see note)
- - - - - 1 0 X Simple search. Usage of P1 as a record number
- - - - - 1 0 0 Start forward search from record indicated in P1
- - - - - 1 0 1 Start backward search from record indicated in P1
- - - - - 1 1 0 Enhanced search - see table 11.13
- - - - - 1 1 1 Proprietary search
NOTE: This value is reserved by ISO/IEC 7816-4 [12].
Table 11.13: Coding of the first byte of the search indication for enhanced search mode
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
0 0 0 0 0 - - -
The search starts in the record from the offset (absolute
position) given in the second byte of the search indication
0 0 0 0 1 - - - The search starts in the record after the first occurrence of
the value contained in the second byte of the search
indication
- - - - - 0 X X RFU (see note)
- - - - - 1 X X Usage of value of P1 as a record number
- - - - - 1 0 0 Start forward search form record indicated in P1
- - - - - 1 0 1 Start backward search form record indicated in P1
- - - - - 1 1 0 Start forward search from next record
- - - - - 1 1 1 Start backward search form previous record
Any other value RFU
NOTE: This value is reserved by ISO/IEC 7816-4 [12].
For the modes "forward search from next record" and "backward search from previous record", P1 has no significance
within the scope of the present document and shall be set to '00'.
Response data:
ETSI
102 ETSI TS 102 221 V17.1.0 (2022-02)
11.1.8 INCREASE
The function does not perform the increase if the result would exceed the maximum value of the record (represented by
all bytes set to 'FF').
Input:
• Value to be added.
Output:
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
0 0 0 0 0 0 0 0 Increase the currently selected EF
1 0 0 X X X X X SFI referencing used, b1 to b5 are the SFI
NOTE: All other values are RFU.
In this command, Lc is restricted to 0 < Lc < 128 and the maximum record length is limited to 127 bytes.
Response data:
ETSI
103 ETSI TS 102 221 V17.1.0 (2022-02)
If the access condition for a function to be performed on the last selected file is PIN, then a successful verification of the
relevant PIN is required prior to the use of the function on this file unless the PIN is disabled.
If the PIN presented is correct, the number of remaining PIN attempts for that PIN shall be reset to its initial value 3.
If the PIN presented is false, the number of remaining PIN attempts for that PIN shall be decremented, regardless on
which logical channel the VERIFY PIN command was issued. The UICC shall return SW1 SW2 = '63C2' after the first
false PIN presentation. The UICC shall return SW1 SW2 = '63C1' after the second consecutive false PIN presentation,
not necessarily in the same card session. After the third consecutive false PIN presentation, not necessarily in the same
card session, the respective PIN shall be blocked and the UICC shall return SW1 SW2 = '63C0'. Any subsequent
VERIFY PIN command applied to this blocked PIN shall then return SW1 SW2 = '6983'. The access condition can
never be fulfilled until the UNBLOCK PIN function has been successfully performed on the respective PIN.
Input:
• Indication PIN.
Output:
• None.
The VERIFY PIN command is sent to the UICC with parameter P2 indicating the PIN for which the retry counter value
is to be retrieved with an empty data field. The number of retries, if any, is indicated in the response by SW1
SW2 = '63CX', where X indicates the number of retries left.
A VERIFY PIN command with empty data field applied to a blocked PIN shall return SW1 SW2 = '63C0' or SW1
SW2 = '6983'.
Input:
• Empty.
Output:
• None.
ETSI