Table 12 - Coding of SW1-SW2
SW1-SW2 Meaning
Normal processing
'9000' No further qualification
'61XX' SW2 indicates the number of response bytes still available (see text below)
Warning processings
'62XX' State of non-volatile memory unchanged (further qualification in SW2, see table 13)
'63XX' State of non-volatile memory changed (further qualification in SW2, see table 14)
Execution errors
'64XX' State of non-volatile memory unchanged (SW2='00', other values are RFU)
'65XX' State of non-volatile memory changed (further qualification in SW2, see table 15)
'66XX' Reserved for security-related issues (not defined in this part of ISO/IEC 7816)
Checking errors
'6700' Wrong length
'68XX' Functions in CLA not supported (further qualification in SW2, see table 16)
'69XX' Command not allowed (further qualification in SW2, see table 17)
'6AXX' Wrong parameter(s) P1-P2 (further qualification in SW2, see table 18)
'6B00' Wrong parameter(s) P1-P2
'6CXX' Wrong length Le: SW2 indicates the exact length (see text below)
'6D00' Instruction code not supported or invalid
'6E00' Class not supported
'6F00' No precise diagnosis
Table 13 - Coding of SW2 when SW1='62'
SW2 Meaning
'00' No information given
'81' Part of returned data may be corrupted
'82' End of file/record reached before reading Le bytes
'83' Selected file invalidated
'84' FCI not formatted according to 1.1.5
Table 14 - Coding of SW2 when SW1='63'
SW2 Meaning
'00' No information given
'81' File filled up by the last write
'CX' Counter provided by 'X' (valued from 0 to 15) (exact meaning depending on the command)
Table 15 - Coding of SW2 when SW1='65'
SW2 Meaning
'00' No information given
'81' Memory failure
Table 16 - Coding of SW2 when SW1='68'
SW2 Meaning
'00' No information given
'81' Logical channel not supported
'82' Secure messaging not supported
Table 17 - Coding of SW2 when SW1='69'
SW2 Meaning
'00' No information given
'81' Command incompatible with file structure
'82' Security status not satisfied
'83' Authentication method blocked
'84' Referenced data invalidated
'85' Conditions of use not satisfied
'86' Command not allowed (no current EF)
'87' Expected SM data objects missing
'88' SM data objects incorrect
Table 18 - Coding of SW2 when SW1='6A'
SW2 Meaning
'00' No information given
'80' Incorrect parameters in the data field
'81' Function not supported
'82' File not found
'83' Record not found
'84' Not enough memory space in the file
'85' Lc inconsistent with TLV structure
'86' Incorrect parameters P1-P2
'87' Lc inconsistent with P1-P2
'88' Referenced data not found
SW1-SW2 Meaning
Normal processing
'9000' No further qualification
'61XX' SW2 indicates the number of response bytes still available (see text below)
Warning processings
'62XX' State of non-volatile memory unchanged (further qualification in SW2, see table 13)
'63XX' State of non-volatile memory changed (further qualification in SW2, see table 14)
Execution errors
'64XX' State of non-volatile memory unchanged (SW2='00', other values are RFU)
'65XX' State of non-volatile memory changed (further qualification in SW2, see table 15)
'66XX' Reserved for security-related issues (not defined in this part of ISO/IEC 7816)
Checking errors
'6700' Wrong length
'68XX' Functions in CLA not supported (further qualification in SW2, see table 16)
'69XX' Command not allowed (further qualification in SW2, see table 17)
'6AXX' Wrong parameter(s) P1-P2 (further qualification in SW2, see table 18)
'6B00' Wrong parameter(s) P1-P2
'6CXX' Wrong length Le: SW2 indicates the exact length (see text below)
'6D00' Instruction code not supported or invalid
'6E00' Class not supported
'6F00' No precise diagnosis
Table 13 - Coding of SW2 when SW1='62'
SW2 Meaning
'00' No information given
'81' Part of returned data may be corrupted
'82' End of file/record reached before reading Le bytes
'83' Selected file invalidated
'84' FCI not formatted according to 1.1.5
Table 14 - Coding of SW2 when SW1='63'
SW2 Meaning
'00' No information given
'81' File filled up by the last write
'CX' Counter provided by 'X' (valued from 0 to 15) (exact meaning depending on the command)
Table 15 - Coding of SW2 when SW1='65'
SW2 Meaning
'00' No information given
'81' Memory failure
Table 16 - Coding of SW2 when SW1='68'
SW2 Meaning
'00' No information given
'81' Logical channel not supported
'82' Secure messaging not supported
Table 17 - Coding of SW2 when SW1='69'
SW2 Meaning
'00' No information given
'81' Command incompatible with file structure
'82' Security status not satisfied
'83' Authentication method blocked
'84' Referenced data invalidated
'85' Conditions of use not satisfied
'86' Command not allowed (no current EF)
'87' Expected SM data objects missing
'88' SM data objects incorrect
Table 18 - Coding of SW2 when SW1='6A'
SW2 Meaning
'00' No information given
'80' Incorrect parameters in the data field
'81' Function not supported
'82' File not found
'83' Record not found
'84' Not enough memory space in the file
'85' Lc inconsistent with TLV structure
'86' Incorrect parameters P1-P2
'87' Lc inconsistent with P1-P2
'88' Referenced data not found