Professional Documents
Culture Documents
0 (2022-02)
Input:
• None.
Output:
• None; or
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
0 0 0 0 0 0 0 0 Open logical channel
1 0 0 0 0 0 0 0 Close logical channel
NOTE: All other values are RFU.
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
0 0 0 0 0 0 0 0 If P1='00': Logical channel to be internally assigned by the UICC
If P1 '00': reserved
0 0 0 0 0 0 0 1 Logical channel number 1
0 0 0 0 0 0 1 0 Logical channel number 2
0 0 0 0 0 0 1 1 Logical channel number 3
0 0 0 - - - - - ...
0 0 0 1 0 0 1 1 Logical channel number 19
NOTE 1: All other values are RFU.
NOTE 2: Values '01', '02', '03', … '13' are valid only with P1='80'.
Response data:
Response data shall only be returned if the value of the parameters P1-P2 of the command is '0000'.
ETSI
114 ETSI TS 102 221 V17.1.0 (2022-02)
The quality of the random number generated by this command is determined by the application and is outside the scope
of the present document.
The generated random number may be used internally by the UICC in procedures specified by the application. The
validity of the random number is at least for the next command, on the same logical channel, following the GET
CHALLENGE command if not specified differently by the application. The random number referenced is always the
latest generated on the logical channel specified in the CLA by the command referencing the usage of a generated
random number.
Input:
• None.
Output:
• Random number.
As a precondition to all the provisions in subsequent clauses, this command shall not be issued by the terminal if the
Terminal capability mechanism is not indicated inside the supported system command field; see clause 11.1.1.4.6.8.
Input:
• Terminal capabilities.
Output:
• None.
ETSI
115 ETSI TS 102 221 V17.1.0 (2022-02)
The command data are organized inside the constructed TLV object for terminal capability information:
The following TLV objects are defined for the terminal capability template (tag 'A9'). Additional private TLV objects
(bits b7 and b8 of the first byte of the tag set to 1) may be present after the TLV objects defined in this clause.
The terminal power supply is indicated by tag '80' within the constructed TLV object. The first byte indicates the actual
used supply voltage class. The coding of this byte is the same as for the supply voltage class indication in the ATR, see
table 6.1. Unused bits are set to RFU. The second byte indicates the maximum available power supply in mA for the
actual used supply voltage class.
The actual used clock frequency is coded in Hexadecimal format. The resolution is 0,1 MHz, i.e. '0A' is 1 MHz and 'FE'
is 25,4 MHz. The value 'FF' indicates that no clock frequency is indicated.
For the Maximum available power supply of the terminal, it is advised that terminal only uses values corresponding to
10 mA, 30 mA and 60 mA.
ETSI