NXP Reader Library  v17.1.0.2535

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

Collaboration diagram for Custom ErrorCodes:

Custom Error Codes mapping for PICC erro codes

#define PHAL_MFDF_NO_CHANGES   (PH_ERR_CUSTOM_BEGIN + 0)
 DESFire Response - No changes done to backup files.
 
#define PHAL_MFDF_ERR_OUT_OF_EEPROM_ERROR   (PH_ERR_CUSTOM_BEGIN + 1)
 DESFire Response - Insufficient NV-Memory.
 
#define PHAL_MFDF_ERR_NO_SUCH_KEY   (PH_ERR_CUSTOM_BEGIN + 2)
 DESFire Invalid key number specified.
 
#define PHAL_MFDF_ERR_PERMISSION_DENIED   (PH_ERR_CUSTOM_BEGIN + 3)
 DESFire Current configuration/status does not allow the requested command.
 
#define PHAL_MFDF_ERR_APPLICATION_NOT_FOUND   (PH_ERR_CUSTOM_BEGIN + 4)
 DESFire Requested AID not found on PICC.
 
#define PHAL_MFDF_ERR_BOUNDARY_ERROR   (PH_ERR_CUSTOM_BEGIN + 5)
 DESFire Attempt to read/write data from/to beyond the files/record's limits.
 
#define PHAL_MFDF_ERR_COMMAND_ABORTED   (PH_ERR_CUSTOM_BEGIN + 6)
 DESFire Previous cmd not fully completed. More...
 
#define PHAL_MFDF_ERR_COUNT   (PH_ERR_CUSTOM_BEGIN + 7)
 DESFire Num. More...
 
#define PHAL_MFDF_ERR_DUPLICATE   (PH_ERR_CUSTOM_BEGIN + 8)
 DESFire File/Application with same number already exists.
 
#define PHAL_MFDF_ERR_FILE_NOT_FOUND   (PH_ERR_CUSTOM_BEGIN + 9)
 DESFire Specified file number does not exist.
 
#define PHAL_MFDF_ERR_PICC_CRYPTO   (PH_ERR_CUSTOM_BEGIN + 10)
 DESFire Crypto error returned by PICC.
 
#define PHAL_MFDF_ERR_PARAMETER_ERROR   (PH_ERR_CUSTOM_BEGIN + 11)
 DESFire Parameter value error returned by PICC.
 
#define PHAL_MFDF_ERR_DF_GEN_ERROR   (PH_ERR_CUSTOM_BEGIN + 12)
 DESFire DesFire Generic error. More...
 
#define PHAL_MFDF_ERR_DF_7816_GEN_ERROR   (PH_ERR_CUSTOM_BEGIN + 13)
 DESFire ISO 7816 Generic error. More...
 

Detailed Description

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

Macro Definition Documentation

◆ PHAL_MFDF_ERR_COMMAND_ABORTED

#define PHAL_MFDF_ERR_COMMAND_ABORTED   (PH_ERR_CUSTOM_BEGIN + 6)

DESFire Previous cmd not fully completed.

Not all frames were requested or provided by the PCD.

◆ PHAL_MFDF_ERR_COUNT

#define PHAL_MFDF_ERR_COUNT   (PH_ERR_CUSTOM_BEGIN + 7)

DESFire Num.

of applns limited to 28. No additional applications possible.

◆ PHAL_MFDF_ERR_DF_GEN_ERROR

#define PHAL_MFDF_ERR_DF_GEN_ERROR   (PH_ERR_CUSTOM_BEGIN + 12)

DESFire DesFire Generic error.

Check additional Info.

◆ PHAL_MFDF_ERR_DF_7816_GEN_ERROR

#define PHAL_MFDF_ERR_DF_7816_GEN_ERROR   (PH_ERR_CUSTOM_BEGIN + 13)

DESFire ISO 7816 Generic error.

Check Additional Info.