NXP NFC Reader Library v4.040.05.011646

Error Code Collection
Other

Common Error Codes. More...

Collaboration diagram for Error Code Collection:

## Success Codes
#define | PH_ERR_SUCCESS 0x0000U
| Returned in case of no error. More...
#define | PH_ERR_SUCCESS_CHAINING 0x0071U
| Rx chaining is not complete, further action needed. More...
#define | PH_ERR_SUCCESS_ACK 0x0072U
| Received ACK packet for a previous transmitted packet. More...
#define | PH_ERR_SUCCESS_INCOMPLETE_BYTE 0x0073U
| An incomplete byte was received. More...
#define | PH_ERR_SUCCESS_DESELECTED 0x0074U
| DSL is sent for de-selection of target. More...
#define | PH_ERR_SUCCESS_RELEASED 0x0075U
| RLS is sent for release of target. More...
#define | PH_ERR_SUCCESS_INFO_RECEIVED 0x0076U
| Received I PDU in response for an I PDU. More...

## Communication Errors
#define | PH_ERR_IO_TIMEOUT 0x0001U
| No reply received, e.g. More...
#define | PH_ERR_INTEGRITY_ERROR 0x0002U
| Wrong CRC or parity detected. More...
#define | PH_ERR_COLLISION_ERROR 0x0003U
| A collision occurred. More...
#define | PH_ERR_BUFFER_OVERFLOW 0x0004U
| Attempt to write beyond buffer size. More...
#define | PH_ERR_FRAMING_ERROR 0x0005U
| Invalid frame format. More...
#define | PH_ERR_PROTOCOL_ERROR 0x0006U
| Received response violates protocol. More...
#define | PH_ERR_AUTH_ERROR 0x0007U
| Authentication error. More...
#define | PH_ERR_READ_WRITE_ERROR 0x0008U
| A Read or Write error occurred in RAM/ROM or Flash. More...
#define | PH_ERR_TEMPERATURE_ERROR 0x0009U
| The RC sensors signal over heating. More...
#define | PH_ERR_RF_ERROR 0x000AU
| Error due to RF. More...
#define | PH_ERR_INTERFACE_ERROR 0x000BU
| An error occurred in RC communication. More...
#define | PH_ERR_LENGTH_ERROR 0x000CU
| A length error occurred. More...
#define | PH_ERR_RESOURCE_ERROR 0x000DU
| An resource error. More...
#define | PH_ERR_TX_NAK_ERROR 0x000EU
| TX Rejected sanely by the counterpart. More...
#define | PH_ERR_RX_NAK_ERROR 0x000FU
| RX request Rejected sanely by the counterpart. More...
#define | PH_ERR_EXT_RF_ERROR 0x0010U
| Error due to External RF. More...
#define | PH_ERR_NOISE_ERROR 0x0011U
| EMVCo EMD Noise Error. More...
#define | PH_ERR_ABORTED 0x0012U
| Used when HAL ShutDown is called. More...
#define | PH_ERR_INTERNAL_ERROR 0x007FU
| An internal error occurred. More...

## Parameter & Command Errors
#define | PH_ERR_INVALID_DATA_PARAMS 0x0020U
| Invalid data parameters supplied (layer id check failed). More...
#define | PH_ERR_INVALID_PARAMETER 0x0021U
| Invalid parameter supplied. More...
#define | PH_ERR_PARAMETER_OVERFLOW 0x0022U
| Reading/Writing a parameter would produce an overflow. More...
#define | PH_ERR_UNSUPPORTED_PARAMETER 0x0023U
| Parameter not supported. More...
#define | PH_ERR_UNSUPPORTED_COMMAND 0x0024U
| Command not supported. More...
#define | PH_ERR_USE_CONDITION 0x0025U
| Condition of use not satisfied. More...
#define | PH_ERR_KEY 0x0026U
| A key error occurred. More...
#define | PH_ERR_OSAL_ERROR 0x0027U
| Errors More...
#define | PH_ERR_OSAL_FAILURE 0x0028U
| OSAL failed to perform the requested operation. More...
#define | PH_ERR_EVENT_ERROR 0x0029U
| Errors More...
#define | PH_ERR_EVENT_FAILURE 0x0030U
| Event failed to perform the requested operation. More...

## phalI18000p3m3 Error Codes
#define | PHAL_I18000P3M3_ERR_OTHER (PH_ERR_CUSTOM_BEGIN+0)
| Other Error. More...
#define | PHAL_I18000P3M3_ERR_MEMORY_OVERRUN (PH_ERR_CUSTOM_BEGIN+1)
| Memory overrun. More...
#define | PHAL_I18000P3M3_ERR_MEMORY_LOCKED (PH_ERR_CUSTOM_BEGIN+2)
| Memory locked. More...
#define | PHAL_I18000P3M3_ERR_INSUFFICIENT_POWER (PH_ERR_CUSTOM_BEGIN+3)
| Insufficient power. More...
#define | PHAL_I18000P3M3_ERR_NON_SPECIFIC (PH_ERR_CUSTOM_BEGIN+4)
| Non-specific error. More...

## phpalI14443p4 Error Codes
#define | PHPAL_I14443P4_ERR_RECOVERY_FAILED (PH_ERR_CUSTOM_BEGIN+0)
| ISO14443-4 error recovery failed. More...

## phpalI18092mPI Error Codes
#define | PHPAL_I18092MPI_ERR_RECOVERY_FAILED (PH_ERR_CUSTOM_BEGIN+0)
| ISO18092 error recovery failed. More...

## phpalMifare Error Codes
#define | PHPAL_MIFARE_ERR_NAK0 (PH_ERR_CUSTOM_BEGIN+0)
| NAK 0.
#define | PHPAL_MIFARE_ERR_NAK1 (PH_ERR_CUSTOM_BEGIN+1)
| NAK 1.
#define | PHPAL_MIFARE_ERR_NAK4 (PH_ERR_CUSTOM_BEGIN+2)
| NAK 4.
#define | PHPAL_MIFARE_ERR_NAK5 (PH_ERR_CUSTOM_BEGIN+3)
| NAK 5.
#define | PHPAL_MIFARE_ERR_NAK6 (PH_ERR_CUSTOM_BEGIN+4)
| NAK 6.
#define | PHPAL_MIFARE_ERR_NAK7 (PH_ERR_CUSTOM_BEGIN+5)
| NAK 7.
#define | PHPAL_MIFARE_ERR_NAK8 (PH_ERR_CUSTOM_BEGIN+6)
| NAK 8.
#define | PHPAL_MIFARE_ERR_NAK9 (PH_ERR_CUSTOM_BEGIN+7)
| NAK 9.

## phpalSli15693 Error Codes
#define | PHPAL_SLI15693_ERR_ISO15693 (PH_ERR_CUSTOM_BEGIN+0)
| ISO15693 specific error code from card. More...

## Detailed Description

Common Error Codes.

phpalSli15693 Custom Errors

phpalMifare Custom Errors

phpalI18092 Custom Errors

phpalI14443p4 Custom Errors

phalI18000p3m3 Custom Errors

## Macro Definition Documentation

## § PH_ERR_SUCCESS

#define PH_ERR_SUCCESS 0x0000U

Returned in case of no error.

## § PH_ERR_SUCCESS_CHAINING

#define PH_ERR_SUCCESS_CHAINING 0x0071U

Rx chaining is not complete, further action needed.

## § PH_ERR_SUCCESS_ACK

#define PH_ERR_SUCCESS_ACK 0x0072U

Received ACK packet for a previous transmitted packet.

## § PH_ERR_SUCCESS_INCOMPLETE_BYTE

#define PH_ERR_SUCCESS_INCOMPLETE_BYTE 0x0073U

An incomplete byte was received.

## § PH_ERR_SUCCESS_DESELECTED

#define PH_ERR_SUCCESS_DESELECTED 0x0074U

DSL is sent for de-selection of target.

## § PH_ERR_SUCCESS_RELEASED

#define PH_ERR_SUCCESS_RELEASED 0x0075U

RLS is sent for release of target.

## § PH_ERR_SUCCESS_INFO_RECEIVED

#define PH_ERR_SUCCESS_INFO_RECEIVED 0x0076U

Received I PDU in response for an I PDU.

## § PH_ERR_IO_TIMEOUT

#define PH_ERR_IO_TIMEOUT 0x0001U

No reply received, e.g.

PICC removal.

## § PH_ERR_INTEGRITY_ERROR

#define PH_ERR_INTEGRITY_ERROR 0x0002U

Wrong CRC or parity detected.

## § PH_ERR_COLLISION_ERROR

#define PH_ERR_COLLISION_ERROR 0x0003U

A collision occurred.

## § PH_ERR_BUFFER_OVERFLOW

#define PH_ERR_BUFFER_OVERFLOW 0x0004U

Attempt to write beyond buffer size.

## § PH_ERR_FRAMING_ERROR

#define PH_ERR_FRAMING_ERROR 0x0005U

Invalid frame format.

## § PH_ERR_PROTOCOL_ERROR

#define PH_ERR_PROTOCOL_ERROR 0x0006U

Received response violates protocol.

## § PH_ERR_AUTH_ERROR

#define PH_ERR_AUTH_ERROR 0x0007U

Authentication error.

## § PH_ERR_READ_WRITE_ERROR

#define PH_ERR_READ_WRITE_ERROR 0x0008U

A Read or Write error occurred in RAM/ROM or Flash.

## § PH_ERR_TEMPERATURE_ERROR

#define PH_ERR_TEMPERATURE_ERROR 0x0009U

The RC sensors signal over heating.

## § PH_ERR_RF_ERROR

#define PH_ERR_RF_ERROR 0x000AU

Error due to RF.

## § PH_ERR_INTERFACE_ERROR

#define PH_ERR_INTERFACE_ERROR 0x000BU

An error occurred in RC communication.

## § PH_ERR_LENGTH_ERROR

#define PH_ERR_LENGTH_ERROR 0x000CU

A length error occurred.

## § PH_ERR_RESOURCE_ERROR

#define PH_ERR_RESOURCE_ERROR 0x000DU

An resource error.

## § PH_ERR_TX_NAK_ERROR

#define PH_ERR_TX_NAK_ERROR 0x000EU

TX Rejected sanely by the counterpart.

## § PH_ERR_RX_NAK_ERROR

#define PH_ERR_RX_NAK_ERROR 0x000FU

RX request Rejected sanely by the counterpart.

## § PH_ERR_EXT_RF_ERROR

#define PH_ERR_EXT_RF_ERROR 0x0010U

Error due to External RF.

## § PH_ERR_NOISE_ERROR

#define PH_ERR_NOISE_ERROR 0x0011U

EMVCo EMD Noise Error.

## § PH_ERR_ABORTED

#define PH_ERR_ABORTED 0x0012U

Used when HAL ShutDown is called.

## § PH_ERR_INTERNAL_ERROR

#define PH_ERR_INTERNAL_ERROR 0x007FU

An internal error occurred.

## § PH_ERR_INVALID_DATA_PARAMS

#define PH_ERR_INVALID_DATA_PARAMS 0x0020U

Invalid data parameters supplied (layer id check failed).

## § PH_ERR_INVALID_PARAMETER

#define PH_ERR_INVALID_PARAMETER 0x0021U

Invalid parameter supplied.

## § PH_ERR_PARAMETER_OVERFLOW

#define PH_ERR_PARAMETER_OVERFLOW 0x0022U

Reading/Writing a parameter would produce an overflow.

## § PH_ERR_UNSUPPORTED_PARAMETER

#define PH_ERR_UNSUPPORTED_PARAMETER 0x0023U

Parameter not supported.

## § PH_ERR_UNSUPPORTED_COMMAND

#define PH_ERR_UNSUPPORTED_COMMAND 0x0024U

Command not supported.

## § PH_ERR_USE_CONDITION

#define PH_ERR_USE_CONDITION 0x0025U

Condition of use not satisfied.

## § PH_ERR_KEY

#define PH_ERR_KEY 0x0026U

A key error occurred.

## § PH_ERR_OSAL_ERROR

#define PH_ERR_OSAL_ERROR 0x0027U

Errors

Error occurred during initialization.

## § PH_ERR_OSAL_FAILURE

#define PH_ERR_OSAL_FAILURE 0x0028U

OSAL failed to perform the requested operation.

## § PH_ERR_EVENT_ERROR

#define PH_ERR_EVENT_ERROR 0x0029U

Errors

Error occurred during initialization.

## § PH_ERR_EVENT_FAILURE

#define PH_ERR_EVENT_FAILURE 0x0030U

Event failed to perform the requested operation.

## § PHAL_I18000P3M3_ERR_OTHER

#define PHAL_I18000P3M3_ERR_OTHER (PH_ERR_CUSTOM_BEGIN+0)

Other Error.

## § PHAL_I18000P3M3_ERR_MEMORY_OVERRUN

#define PHAL_I18000P3M3_ERR_MEMORY_OVERRUN (PH_ERR_CUSTOM_BEGIN+1)

Memory overrun.

## § PHAL_I18000P3M3_ERR_MEMORY_LOCKED

#define PHAL_I18000P3M3_ERR_MEMORY_LOCKED (PH_ERR_CUSTOM_BEGIN+2)

Memory locked.

## § PHAL_I18000P3M3_ERR_INSUFFICIENT_POWER

#define PHAL_I18000P3M3_ERR_INSUFFICIENT_POWER (PH_ERR_CUSTOM_BEGIN+3)

Insufficient power.

## § PHAL_I18000P3M3_ERR_NON_SPECIFIC

#define PHAL_I18000P3M3_ERR_NON_SPECIFIC (PH_ERR_CUSTOM_BEGIN+4)

Non-specific error.

## § PHPAL_I14443P4_ERR_RECOVERY_FAILED

#define PHPAL_I14443P4_ERR_RECOVERY_FAILED (PH_ERR_CUSTOM_BEGIN+0)

ISO14443-4 error recovery failed.

## § PHPAL_I18092MPI_ERR_RECOVERY_FAILED

#define PHPAL_I18092MPI_ERR_RECOVERY_FAILED (PH_ERR_CUSTOM_BEGIN+0)

ISO18092 error recovery failed.

## § PHPAL_SLI15693_ERR_ISO15693

#define PHPAL_SLI15693_ERR_ISO15693 (PH_ERR_CUSTOM_BEGIN+0)

ISO15693 specific error code from card.

When a response is received from the VICC with the error flag PHPAL_SLI15693_FLAG_RESP_ERROR set, this error code returned by library. The actual error code returned by VICC can be accessed via phpalSli15693_GetConfig using PHPAL_SLI15693_CONFIG_ADD_INFO option.