Академический Документы
Профессиональный Документы
Культура Документы
RESPONSE APDU:
BODY TRAILER
[DATA FIELD] SW1 SW2
FILE OPRETIONS:
Command APDU
P1 is 00 for DF
P1 is 01 for EF
Data contains the file identifier
Errors Handled
SW1 SW2 DESCRIPTION
6A 84 Not enough memory space
6A 89 File already exists
6A 8A DF name already existd
Command APDU
CLA INS P1 P2 LC DATA LE
0 A4 - 0 - - 0
P1 is 08 to consider the path given in data field is from MF complete path
P1 is 09 to consider the path given in data field is from currently selected directory
Data contains the path of the file
Errors Handled
SW1 SW2 DESCRIPTION
6A 82 File not found
6A 86 Incorrect parameter P1-P2
Command APDU
CLA INS P1 P2 LC DATA LE
0 D0 0 - - - 0
P2 offset in the file from where we need to write the data into the file.
data contains actual data to be stored.
Errors Handled
SW1 SW2 DESCRIPTION
65 81 Memory status failure
69 86 Command not allowed (no current EF)
6B 0 Wrong parameters/offset outside EF
Command APDU
CLA INS P1 P2 LC DATA LE
0 B0 0 - 0 Nothing -
P2 is offset in the file where we need to read the data from the file
Le is the length of the data field excepted in the response message command
Errors Handled
SW1 SW2 DESCRIPTION
62 82 End of file reached before reading Le Byte
67 0 Wrong field
69 86 Command not allowed (no current EF)
6B 0 Wrong parameters/offset outside the EF
6A 86 Incorrect parameters P1-P2
(V)Update data in the elementary file(update-BINARY):
Command APDU
CLA INS P1 P2 LC DATA LE
0 6 0 - - - 0
Errors Handled
SW1 SW2 DESCRIPTION
65 81 Memory status failure
69 86 Command not allowed (no current EF)
6B 0 Wrong parameters/offset outside the EF
Command APDU
CLA INS P1 P2 LC DATA LE
0 0E 0 - 0 nothing 0
P2 is the offset in the file from where we need to erase the data
Errors Handled
SW1 SW2 DESCRIPTION
65 81 Memory status failure
69 86 Command not allowed(no current EF)
6B 0 Wrong parameters/offset outside the EF
Command APDU
CLA INS P1 P2 LC DATA LE
0 E4 - 0 0 Nothing 0
Errors Handled
SW1 SW2 DESCRIPTION
6A 82 File not found
6A 86 Incorrect parameters p1-p2
69 86 Command not allowed (no current EF/DF)