Apdu_Exchange for SpringCard-CF Help File

APDU
ATR
CHV
CONVENTION
CLASS
DF
EF
ETU
FCI
FILE
INSTRUCTION
MF
P1 P2
SW1 SW2
PROTOCOL
T = 0
T = 1
TLV

 


APDU

 


ATR

 


CHV

 


CONVENTION

 


CLASS

 


DF

 


EF

 


ETU

 


FCI

 


FILE

 


INSTRUCTION

Instruction Description
B0 READ BINARY
0E ERASE BINARY
B2 READ RECORD
DC UPDATE RECORD
CA GET DATA
A4 SELECT FILE
88 INTERNAL AUTH
84 GET CHALLENGE
D0 WRITE BINARY
D6 UPDATE BINARY
D2 WRITE RECORD
E2 APPEND RECORD
DA PUT DATA
20 VERIFY
82 EXTERNAL AUTH
70 MANAGE CHANNEL
C0 GET RESPONSE
C2 ENVELOPE

 


MF

 


P1 P2

 


PROTOCOL

Type Description
0 Asynchronous half duplex character transmission T=0
1 Asynchronous half duplex block transmission T=1
2,3 Reserved for future full duplex operations
4 Reserved for enhanced asynchronous half duplex character transmission
5 to 13 Reserved for future use
14 Reserved for protocols not standardized by ISO
15 Reserved for future extension

 


SW1 SW2

Code Meaning
90 00 Ok
61 XX Ok: XX bytes remaining
62 00 Warning processing
62 81 Return data may be corrupted
62 82 End of file/record before reading was complete
62 83 Returned data may contain structural information
62 84 File invalidated
62 85 FCI format invalid
62 86 Unsuccessful writing
62 XX Unknown warning: 62XX
63 00 Warning processing
63 81 File full
63 82 Ok after retry
63 cX Warning processing: counter=X
63 XX Unknown warning: 63XX
64 XX Exection error: 64XX
65 00 Execution error
65 81 Memory failure
65 XX Exection error: 65XX
67 00 Unknown length
67 XX Unknown length, try XX
68 00 Function not supported
68 81 Logical channel not supported
68 82 Secure messaging not supported
68 XX Function not supported: 68XX
69 00 Command not allowed
69 81 Command incompatible with file structure
69 82 Security status not satisfied
69 83 Verification method blocked
69 84 Reference data invalidated
69 85 Conditions of use not satisfied
69 86 No current EF
69 XX Command not allowed: 69XX
6a 00 Wrong parameters
6a 80 Incorrect data field parameters
6a 81 Function not supported
6a 82 File not found
6a 83 Record not found parameters
6a 84 Insufficient memory in file
6a 85 Lc inconsistent with TLV structure
6a 86 P1-P2 incorrect
6a 87 Lc inconsistent with P1-P2
6a 88 Reference data not found
6a XX Wrong parameters: 6aXX
6b 00 Wrong parameters
6c XX Le should be XX
6d 00 Wrong INS
6e 00 Wrong CLA
6f 00 Unspecified error

 


T=0

 


T=1

 


TLV

  ,-----+--------+----------------------------------------.
  |  63 |  0d    | 00 1e 1f 24 da c4 03 3f ff c1 02 03 03 |
  | TAG | LENGTH |        VALUE                           |
  `-----+--------+----------------------------------------'

©2002 Pro-Active. All rights reserved. SpringCard-CF and the Pro-Active logo are trade marks of Pro-Active.
Microsoft, Windows and the Windows CE logo are either registered trademarks or trademarks of Microsoft Corporation in the United States and / or other countries.