NXP Reader Library  v17.1.0.2535

These Components implement the actual PICC error codes. These are the values that will not be returned to the user from the interface in case of error. More...

Collaboration diagram for PICC ErrorCodes:

MIFARE Desfire PICC Response Codes

#define PHAL_MFDF_RESP_OPERATION_OK   0x00U
 MF DF Response - Successful operation.
 
#define PHAL_MFDF_RESP_NO_CHANGES   0x0CU
 MF DF Response - No changes done to backup files.
 
#define PHAL_MFDF_RESP_ERR_OUT_OF_EEPROM_ERROR   0x0EU
 MF DF Response - Insufficient NV-Memory.
 
#define PHAL_MFDF_RESP_ILLEGAL_COMMAND_CODE   0x1CU
 MF DF command code not supported.
 
#define PHAL_MFDF_RESP_ERR_INTEGRITY_ERROR   0x1EU
 MF DF CRC or MAC does not match data padding bytes not valid.
 
#define PHAL_MFDF_RESP_NO_SUCH_KEY   0x40U
 MF DF Invalid key number specified.
 
#define PHAL_MFDF_RESP_ERR_LENGTH_ERROR   0x7EU
 MF DF Length of command string invalid.
 
#define PHAL_MFDF_RESP_PERMISSION_DENIED   0x9DU
 MF DF Current configuration/status does not allow the requested command.
 
#define PHAL_MFDF_RESP_ERR_PARAMETER_ERROR   0x9EU
 MF DF Value of params invalid.
 
#define PHAL_MFDF_RESP_APPLICATION_NOT_FOUND   0xA0U
 MF DF Requested AID not found on PICC.
 
#define PHAL_MFDF_RESP_ERR_APPL_INTEGRITY_ERROR   0xA1U
 MF DF Unrecoverable error within application, appln will be disabled.
 
#define PHAL_MFDF_RESP_ERR_AUTHENTICATION_ERROR   0xAEU
 MF DF Current authentication status does not allow the requested cmd.
 
#define PHAL_MFDF_RESP_ADDITIONAL_FRAME   0xAFU
 MF DF Additional data frame is expected to be sent.
 
#define PHAL_MFDF_RESP_ERR_BOUNDARY_ERROR   0xBEU
 MF DF Attempt to read/write data from/to beyond the files/record's limits.
 
#define PHAL_MFDF_RESP_ERR_PICC_INTEGRITY   0xC1U
 MF DF Unrecoverable error within PICC. More...
 
#define PHAL_MFDF_RESP_ERR_COMMAND_ABORTED   0xCAU
 MF DF Previous cmd not fully completed. More...
 
#define PHAL_MFDF_RESP_ERR_PIC_DISABLED   0xCDU
 MF DF PICC was disabled by an unrecoverable error.
 
#define PHAL_MFDF_RESP_ERR_COUNT   0xCEU
 MF DF Num. More...
 
#define PHAL_MFDF_RESP_ERR_DUPLICATE   0xDEU
 MF DF File/Application with same number already exists.
 
#define PHAL_MFDF_RESP_ERR_EEPROM   0xEEU
 MF DF Could not complete NV-Write operation due to loss of power.
 
#define PHAL_MFDF_RESP_ERR_FILE_NOT_FOUND   0xF0U
 MF DF Specified file number does not exist.
 
#define PHAL_MFDF_RESP_ERR_FILE_INTEGRITY   0xF1U
 MF DF Unrecoverable error within file. More...
 

MIFARE Desfire PICC ISO7816 Response Codes

#define PHAL_MFDF_ISO7816_SUCCESS   0x9000U
 Correct execution.
 
#define PHAL_MFDF_ISO7816_ERR_WRONG_LENGTH   0x6700U
 Wrong length.
 
#define PHAL_MFDF_ISO7816_ERR_INVALID_APPLN   0x6A82U
 Application / file not found.
 
#define PHAL_MFDF_ISO7816_ERR_WRONG_PARAMS   0x6A86U
 Wrong parameters P1 and/or P2.
 
#define PHAL_MFDF_ISO7816_ERR_WRONG_LC   0x6A87U
 Lc inconsistent with P1/p2.
 
#define PHAL_MFDF_ISO7816_ERR_WRONG_LE   0x6C00U
 Wrong Le.
 
#define PHAL_MFDF_ISO7816_ERR_NO_PRECISE_DIAGNOSTICS   0x6F00U
 No precise diagnostics.
 
#define PHAL_MFDF_ISO7816_ERR_EOF_REACHED   0x6282U
 End of File reached.
 
#define PHAL_MFDF_ISO7816_ERR_FILE_ACCESS   0x6982U
 File access not allowed.
 
#define PHAL_MFDF_ISO7816_ERR_FILE_EMPTY   0x6985U
 File empty or access conditions not satisfied.
 
#define PHAL_MFDF_ISO7816_ERR_FILE_NOT_FOUND   0x6A82U
 File not found.
 
#define PHAL_MFDF_ISO7816_ERR_MEMORY_FAILURE   0x6581U
 Memory failure (unsuccessful update).
 
#define PHAL_MFDF_ISO7816_ERR_INCORRECT_PARAMS   0x6B00U
 Wrong parameter p1 or p2. More...
 
#define PHAL_MFDF_ISO7816_ERR_WRONG_CLA   0x6E00U
 Wrong Class byte.
 
#define PHAL_MFDF_ISO7816_ERR_UNSUPPORTED_INS   0x6D00U
 Instruction not supported.
 

Detailed Description

These Components implement the actual PICC error codes. These are the values that will not be returned to the user from the interface in case of error.

Macro Definition Documentation

◆ PHAL_MFDF_RESP_ERR_PICC_INTEGRITY

#define PHAL_MFDF_RESP_ERR_PICC_INTEGRITY   0xC1U

MF DF Unrecoverable error within PICC.

PICC will be disabled.

◆ PHAL_MFDF_RESP_ERR_COMMAND_ABORTED

#define PHAL_MFDF_RESP_ERR_COMMAND_ABORTED   0xCAU

MF DF Previous cmd not fully completed.

Not all frames were requested or provided by the PCD.

◆ PHAL_MFDF_RESP_ERR_COUNT

#define PHAL_MFDF_RESP_ERR_COUNT   0xCEU

MF DF Num.

of applns limited to 28. No additional applications possible.

◆ PHAL_MFDF_RESP_ERR_FILE_INTEGRITY

#define PHAL_MFDF_RESP_ERR_FILE_INTEGRITY   0xF1U

MF DF Unrecoverable error within file.

File will be disabled.

◆ PHAL_MFDF_ISO7816_ERR_INCORRECT_PARAMS

#define PHAL_MFDF_ISO7816_ERR_INCORRECT_PARAMS   0x6B00U

Wrong parameter p1 or p2.

READ RECORDS.