Tech-invite3GPPspaceIETF RFCsSIP
Quick21222324252627282931323334353637384‑5x

Content for  ETSI TS 102 221   PDF version:  17.1.0

Top   Top   Up   Prev   Next
0…   4…   5…   6…   7…   7.3…   8…   9…   10…   10.2…   11…   11.1.2…   11.1.9…   11.1.14…   11.1.19…   11.1.20…   11.1.21…   11.2…   11.3…   12…   13…   14…   15   A   B   C…   D   E…   F…   G…   H…   I   J…   K…   L…   M…

 

11.1.2  STATUSp. 96

11.1.2.1  Functional descriptionp. 96

This function returns information concerning the current directory or current application.
In addition, according to the application specification, it may be used to indicate to the application in the UICC that its session activation procedure has been successfully executed or that its termination procedure will be executed.
Input:
  • None.
Output:
  • One of the following:
    • FCP of the current directory.
    • The DF name TLV Data Object of the currently selected application.
    • No data returned.
Up

11.1.2.2  Command parametersp. 96

Code Value
CLAAs specified in clause 10.1.1
INSAs specified in clause 10.1.2
P1 Indication of application status (see Table 11.8)
P2 See Table 11.9
LeEmpty, '00', or maximum length of data expected in response
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
00000000No indication
00000001Current application is initialized in the terminal
00000010The terminal will initiate the termination of the current application
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
00000000Response parameters and data are identical to the response parameters and data of the SELECT command
00000001The DF name TLV-object of the currently selected application is returned
00001100No data returned
Any other valueRFU
Up

11.1.3  READ BINARYp. 97

11.1.3.1  Functional descriptionp. 97

This function reads a string of bytes from the current transparent EF. This function shall only be performed if the READ access condition for this EF is satisfied.
Input:
  • Relative address and the length of the string.
Output:
  • String of bytes.

11.1.3.2  Command parametersp. 97

Code Value
CLAAs specified in clause 10.1.1
INSAs specified in clause 10.1.2
P1 See Table 11.10
P2Offset low
LcNot present
DataNot present
LeNumber of bytes to be read
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
0XXXXXXXb7 to b1 is the offset to the first byte to read - P2 is the low part of the offset
100XXXXXSFI referencing used, b1 to b5 are the SFI and P2 is the offset to the first byte to read
Response data:
Byte(s) Description Length
1 to LeData readLe
Up

11.1.4  UPDATE BINARYp. 97

11.1.4.1  Functional parametersp. 97

This function updates the current transparent EF with a string of bytes. This function shall only be performed if the UPDATE access condition for this EF is satisfied. An update can be considered as a replacement of the string already present in the EF by the string given in the update command.
Input:
  • Relative address and the length of the string.
  • String of bytes.
Output:
  • None.

11.1.4.2  Command parameters and datap. 98

Code Value
CLAAs specified in clause 10.1.1
INSAs specified in clause 10.1.2
P1 See Table 11.10
P2Offset low
LcLength of the subsequent data field
DataString of data to be updated
LeNot present
Coding of parameter P1 and P2 are identical to the coding of P1 and P2 in the READ BINARY command.
Up

11.1.5  READ RECORDp. 98

11.1.5.1  Functional descriptionp. 98

This function reads one complete record in the current linear fixed or cyclic EF. The record to be read is described by the modes below. This function shall only be performed if the READ access condition for this EF is satisfied. The record pointer shall not be changed by an unsuccessful READ RECORD function.
Four modes are defined:
CURRENT:
The current record is read. The record pointer is not affected.
ABSOLUTE:
The record given by the record number is read. The record pointer is not affected.
NEXT:
The record pointer is incremented before the READ RECORD function is performed and the pointed record is read. If the record pointer has not been previously set within the selected EF, then READ RECORD (next) shall read the first record and set the record pointer to this record.
If the record pointer addresses the last record in a linear fixed EF, READ RECORD (next) shall not cause the record pointer to be changed, and no data shall be read.
If the record pointer addresses the last record in a cyclic EF, READ RECORD (next) shall set the record pointer to the first record in this EF and this record shall be read.
PREVIOUS:
The record pointer is decremented before the READ RECORD function is performed and the pointed record is read. If the record pointer has not been previously set within the selected EF, then READ RECORD (previous) shall read the last record and set the record pointer to this record.
If the record pointer addresses the first record in a linear fixed EF, READ RECORD (previous) shall not cause the record pointer to be changed, and no data shall be read.
If the record pointer addresses the first record in a cyclic EF, READ RECORD (previous) shall set the record pointer to the last record in this EF and this record shall be read.
Input:
  • Mode, record number (absolute mode only) and the length of the record.
Output:
  • The record.
Up

11.1.5.2  Command parametersp. 99

Code Value
CLAAs specified in clause 10.1.1
INSAs specified in clause 10.1.2
P1Record number
P2 Mode, see Table 11.11
LcNot present
DataNot present
LeNumber of bytes to be read
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
00000---Currently selected EF
XXXXX---Short File identifier (from 1 to 30)
-----010Next record
-----011Previous record
-----100Absolute/current mode, the record number is given in P1 with P1='00' denoting the current record
For the modes "next" and "previous" P1 has no significance within the scope of the present document and shall be set to '00' by the terminal.
Response data:
Byte(s) Description Length
1 to LeData readLe
Up

11.1.6  UPDATE RECORDp. 99

11.1.6.1  Functional descriptionp. 99

This function updates one specific, complete record in the current linear fixed or cyclic EF. This function shall only be performed if the UPDATE access condition for this EF is satisfied. The UPDATE can be considered as a replacement of the relevant record data of the EF by the record data given in the command. The record pointer shall not be changed by an unsuccessful UPDATE RECORD function.
The record to be updated is described by the modes below. Four modes are defined of which only PREVIOUS is allowed for cyclic files:
CURRENT:
The current record is updated. The record pointer is not affected.
ABSOLUTE:
The record given by the record number is updated. The record pointer is not affected.
NEXT:
The record pointer is incremented before the UPDATE RECORD function is performed and the pointed record is updated. If the record pointer has not been previously set within the selected EF, then UPDATE RECORD (next) shall set the record pointer to the first record in this EF and this record shall be updated. If the record pointer addresses the last record in a linear fixed EF, UPDATE RECORD (next) shall not cause the record pointer to be changed, and no record shall be updated.
PREVIOUS:
For a linear fixed EF the record pointer is decremented before the UPDATE RECORD function is performed and the pointed record is updated. If the record pointer has not been previously set within the selected EF, then UPDATE RECORD (previous) shall set the record pointer to the last record in this EF and this record shall be updated. If the record pointer addresses the first record in a linear fixed EF, UPDATE RECORD (previous) shall not cause the record pointer to be changed, and no record shall be updated.
For a cyclic EF the record containing the oldest data is updated, the record pointer is set to this record and this record becomes record number 1.
Input:
  • Mode, record number (absolute mode only) and the length of the record.
  • The data used for updating the record.
Output:
  • None.
Up

11.1.6.2  Command parameters and datap. 100

Code Value
CLAAs specified in clause 10.1.1
INSAs specified in clause 10.1.2
P1Record number
P2 Mode, see Table 11.11
LcLength of the subsequent data field
DataString of data to be updated
LeNot present
Coding of parameter P2 is identical to the coding of P2 in READ RECORD command.
For the modes "next" and "previous" P1 has no significance and shall be set to '00' by the terminal.
Up

11.1.7  SEARCH RECORDp. 100

11.1.7.1  Functional descriptionp. 100

This function searches through a linear fixed or cyclic EF to find record(s) containing a specific pattern. This function shall only be performed if the READ access condition for this EF is satisfied. The search starts:
  • either at the first byte of the record(s) (simple search); or
  • from a given offset in the record(s); or
  • from the first occurrence of a given byte in the record(s).
The response is either empty or contains the, up to the Le specified number of, record number(s) of the records that matches the search in the selected EF.
If one or more matches are found the record pointer shall be set to the first record where the search pattern was found.
Input:
  • Search mode (simple/enhanced).
  • Offset.
  • Pattern.
Output:
  • either none, if Le is empty or no matches is found; or
  • at most the number of record(s) number(s) defined in Le.
If no match is found, either status word '9000' or the warning status '6282' shall be returned. The terminal might not send a GET RESPONSE command (see clause 7.3.1.1.4) after warning status '6282'.
Up

11.1.7.2  Command parameters and datap. 101

Code Value
CLAAs specified in clause 10.1.1
INSAs specified in clause 10.1.2
P1Record number ('00' indicates: current record)
P2 See Table 11.12
LcLength of the subsequent data field
Data
  • Simple search: search string
  • Enhanced search: search indication (2 bytes) followed by search string
  • Proprietary search: proprietary data
LeEmpty or maximum length of response data
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
00000---Currently selected EF
XXXXX---Short File Identifier
11111---RFU
-----0XXRFU (see note)
-----10XSimple search. Usage of P1 as a record number
-----100Start forward search from record indicated in P1
-----101Start backward search from record indicated in P1
-----110 Enhanced search - see Table 11.13
-----111Proprietary search
NOTE:
This value is reserved by ISO/IEC 7816-4 [12].
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
00000---The search starts in the record from the offset (absolute position) given in the second byte of the search indication
00001---The search starts in the record after the first occurrence of the value contained in the second byte of the search indication
-----0XXRFU (see note)
-----1XXUsage of value of P1 as a record number
-----100Start forward search form record indicated in P1
-----101Start backward search form record indicated in P1
-----110Start forward search from next record
-----111Start backward search form previous record
Any other valueRFU
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:
Byte(s) Description Length
0 to LeRecord number(s)Le
NOTE:
If Le is empty no record numbers will be returned.
Up

11.1.8  INCREASEp. 102

11.1.8.1  Functional descriptionp. 102

This function adds the value given by the terminal to the value of the last increased/updated record of the current cyclic EF, and stores the result into the oldest record. The record pointer is set to this record and this record becomes record number 1. This function can only be used if this EF has an INCREASE access condition assigned and this condition is fulfilled. The INCREASE access condition is indicated in the access rules using AM_DO tag '84'. Tag '84' indicates that the INS code for the INCREASE command is indicated as the value in the TLV object (instruction code '32'). The INCREASE command can only be used on files that refer to an access rule where this INS code is indicated as part of the rule.
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:
  • Value of the increased record.
  • Value which has been added.
Up

11.1.8.2  Command parameters and datap. 102

Code Value
CLAAs specified in clause 10.1.1
INSAs specified in clause 10.1.2
P1 See Table 11.14
P2'00'
LcLength of the subsequent data field
DataValue to be added
LeLength of the response data
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
00000000Increase the currently selected EF
100XXXXXSFI 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:
Byte(s) Description Length
1 to XValue of the increased recordX
X + 1 to X + LcValue which has been addedLc
NOTE:
X denotes the length of the record.
Up

Up   Top   ToC