Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN2284 Arkusz danych(PDF) 22 Page - STMicroelectronics

Numer części AN2284
Szczegółowy opis  Smart Card Interface with the STR71xx
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2284 Arkusz danych(HTML) 22 Page - STMicroelectronics

Back Button AN2284 Datasheet HTML 18Page - STMicroelectronics AN2284 Datasheet HTML 19Page - STMicroelectronics AN2284 Datasheet HTML 20Page - STMicroelectronics AN2284 Datasheet HTML 21Page - STMicroelectronics AN2284 Datasheet HTML 22Page - STMicroelectronics AN2284 Datasheet HTML 23Page - STMicroelectronics AN2284 Datasheet HTML 24Page - STMicroelectronics AN2284 Datasheet HTML 25Page - STMicroelectronics AN2284 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 40 page
background image
7 ISO 7816-3 - Electronic Signal and Transmission Protocol
AN2284
22/40
7.2.1
The ISO 7816-4 APDU
There are two types of messages used to support the ISO 7816-4 application protocols: the
command APDU (sent from the reader to the card) and the response APDU (sent from the card
to the reader).
Figure 7.
The Command APDU Structure
The command APDU consists of a header and a body (this can be seen in the diagram above).
The header includes CLA, INS, P1 and P2 fields. As in the T=0 protocol, CLA and INS specify
an application class and instruction. P1 and P2 are used to qualify specific instructions and are
given specific definitions by each [CLA, INS] instruction. The body of the APDU can vary in size
and is used to transmit data to the card's APDU processor as part of a command or to convey a
response from the card to the reader. The Lc field specifies the number of bytes to be
transmitted to the card as part of the instruction i.e. the length of the data field. The data field
contains information that must be sent to the card to allow its APDU processor to execute the
command specified in the APDU. The Le field specifies the number of bytes that will be
returned to the reader in the response APDU.
The body of the APDU can take on four different forms:
Case 1: No data is transferred to or from the card, so the APDU only contains the header.
Case 2: No data is transferred to the card, but data is returned from the card. The body of
the APDU only contains a non-null Le field.
Case 3: Data is transferred to the card, but none is returned from it. The body of the APDU
includes the Lc and data fields.
Case 4: Data is transferred to the card and is also returned from the card as a result of the
command. The body of the APDU includes the Lc, data and Le fields.
Figure 8.
The Response APDU Structure
The response APDU has a much simpler structure than that of the command APDU. It consists
of a body and a trailer. The body is either null or it includes a data field - depending on the
specific command. The length of the data field is determined by the Le field in the
corresponding command APDU. The trailer consists of up to two fields of status information



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com