xmlns:atom="http://www.w3.org/2005/Atom" xmlns:atom="http://www.w3.org/2005/Atom"
The following restrictions apply to the protocols:
The interface device shall support an answer on I/O after the rising edge of the signal on RST from 400 cc.
The interface device shall be able to read characters separated with 12 etu.
The interface device shall read an erroneous character and its repetition if separated with 13 etu. If an erroneous character is detected, the Error signal on I/O can occur between 1 etu and 2 etu. The device shall support a 1 etu delay.
The interface device shall accept a 33 bytes ATR (TS+32)
If TC1 is present in the ATR, the Extra Guard Time shall be present for characters sent by the interface device although characters sent by the card can still be separated with 12 etu. This is also true for the ACK character sent by the card after a P3 character emitted by the interface device.
The interface device shall take into account a NUL character emitted by the card.
The interface device shall accept the complementary mode for ACK.
The get-response command cannot be used in chaining mode to get a data which length could exceed 255 bytes.
NAD byte: not used (NAD shall be set to ‘00’).
S-block ABORT: not used.
S-block VPP state error: not used.
The total chaining length for a data field will not exceed 255 bytes (to be ensured by the IFD).
The Information Field Size Device (IFSD) shall be indicated by the IFD immediately after the ATR: the IFD shall transmit the S-Block IFS request after the ATR and the card shall send back S-Block IFS. The recommended value for IFSD is 254 bytes.
The card will not ask for an IFS readjustment.
Example of Basic Biprotocol ATR according to ISO/IEC 7816-3
Character | Value | Remarks |
---|---|---|
TS | ‘3Bh’ | Indicates direct convention. |
T0 | ‘85h’ | TD1 present; 5 historical bytes are presents. |
TD1 | ‘80h’ | TD2 present; T=0 to be used |
TD2 | ‘11h’ | TA3 present; T=1 to be used |
TA3 | ‘XXh’ (at least ‘F0h’) | Information Field Size Card ( IFSC) |
TH1 to TH5 | ‘XXh’ | Historical characters |
TCK | ‘XXh’ | Check Character (exclusive OR) |
The PTS can be used, as indicated in ISO/IEC 7816-3, to switch to higher baud rates than the default one proposed by the card in the ATR if any (TA(1) byte).
Higher baud rates are optional for the card.
Examples of basic PTS for protocol selection are the following:
Character | Value | Remarks |
---|---|---|
PPSS | ‘FFh’ | The Initiate Character. |
PPS0 | ‘00h’ or ‘01h’ | PPS1 to PPS3 are not present; ‘00h’ to select T0, ‘01h’ to select T1. |
PK | ‘XXh’ | Check Character : ‘XXh’ = ‘FFh’ if PPS0 = ‘00h’, ‘XXh’ = ‘FEh’ if PPS0 = ‘01h’. |