B.2 Semantics

3GPP51.013Release 17Test specification for Subscriber Identity Module (SIM) Application Programming Interface (API) for Java CardTS

Following is the meaning of each of the statements:

CMD : Sends an APDU Command to the card, including (optionally) the expected response data and also (optionally) the expected status words SW1, SW2.

RST : Resets and powers on the card

INI : Performs the terminal profile with the following data. Afterwards, it shall perform all the fetch and terminal response commands until there is no proactive session in progress.

REM : Used for comments

SWI : Activates a switch condition. Every labelled list represents a list of statements to be executed, if the label matches the SW resulting from the previously executed command.

Evaluation of expected response and status in the case of a CMD:

<response> data within [] has to be checked, it needs to be present for an outgoing command. Bytes written as XX shall not be checked by the APDU tool.

<status> status contained within () has to be checked; when several status are valid they shall be separated by commas. Nibble written as X shall not be checked by the APDU tool.