The response APDU is coded as follows:
Data SW1 SW2
Data is the response's data field and SW1 SW2 are the status
bytes.
The following EF structures exist:
| 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 |
Transmits APDUs in blocks and does error checking. It is more difficult to implement than T=0, but more convenient and more reliable.
Example:
,-----+--------+----------------------------------------. | 63 | 0d | 00 1e 1f 24 da c4 03 3f ff c1 02 03 03 | | TAG | LENGTH | VALUE | `-----+--------+----------------------------------------'