![Advanced Card Systems AET63 BioTRUSTKey Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/advanced-card-systems/aet63-biotrustkey/aet63-biotrustkey_reference-manual_2855857023.webp)
AET63 Reference Manual
version 1.8 September 2006
Advanced Card Systems Ltd.
Page 23 of 29
CLA
APDU instruction class byte
INS
APDU instruction
P1
APDU parameter byte 1
P2
APDU parameter byte 2
Lc
APDU command data length
BYTE x
APDU command data
Le
Expected APDU response data length (Le = 0 means no data is expected from the card)
NOTE -
With the T=0 communication protocol it is not possible to transmit data to the card and from the card in a single command-
response pair. Hence, only either Lc or Le can be greater than 0 in an
EXCHANGE_APDU
command when a T=0 card is in the reader.
If both parameters have a value greater than 0, the AET63 does not execute the command and returns an error status.
Response data format
BYTE
1
...
...
BYTE
N
SW1
SW2
BYTE x
Response data from card (if any)
SW1, SW2
Status code returned by the card.
8.4.4
EXCHANGE_T1_FRAME
To exchange an APDU (Application Protocol Data Unit) command/response pair between the MCU card
inserted in the AET63 and the host computer using T1 protocol.
Command format
Instruction Code
Data length
Data
LEN
T1 BLOCK FRAME
A1
H
LEN
Length of APDU command data, N
DATA
T1 Block frame to be sent to the card
Response data format
BYTE 1
...
...
BYTE N
BYTE x
Response T1 Block from card (if any)