Enum pn532::internal_error_code

Enum Documentation

enum class pn532::internal_error_code : std::uint8_t

PN532 error codes (UM0701-02 §7.1).

See also

channel_error

Note

This differs from channel_error, which is the main set of error codes produced by PN532 commands. In fact, these error codes can only be obtained by querying the general_status or rf_status.

Values:

enumerator none

No error.

enumerator timeout

Time out, the target has not answered.

enumerator crc_error

A CRC error has been detected by the CIU.

enumerator parity_error

A parity error has been detected by the CIU.

enumerator erroneous_bit_count

During an anticollision operation, an erroneous bit count has been detected.

enumerator framing_error

Framing error during Mifare operation.

enumerator bit_collision

An abnormal bit-collision has been detected during bit wise anticollision at 106 kbsp.

enumerator buffer_size_insufficient

Communication buffer size insufficient.

enumerator rf_buffer_overflow

RF buffer overflow has been detected by the CIU.

enumerator counterpart_rf_off

In active communication mode, the RF field has not been switched on in time by the counterpart.

enumerator rf_protocol_error

RF Protocol error.

enumerator temperature_error

Antenna drivers were switched off due to overheating.

enumerator buffer_overflow

Internal buffer overflow.

enumerator invalid_parameter

Invalid parameter.

enumerator dep_unsupported_command

PN532 in DEP mode received an unsupported command from the initiator (i.e. none of ATR_REQ, WUP_REQ, PSL_REQ, DEP_REQ, DSL_REQ, RLS_REQ).

enumerator specification_mismatch

DEP Protocol, Mifare or ISO/IEC14443-4: the data format does not match to the specification.

enumerator mifare_auth_error

Mifare authentication error.

enumerator wrong_uid_check_byte

ISO/IEC14443-3: UID Check byte is wrong.

enumerator dep_invalid_device_state

DEP protocol: the device is in a state that does not allow this command.

enumerator operation_not_allowed

Host -> controller operation not allowed in this configuration.

enumerator command_not_acceptable

The current state of the PN532 or its target disallows this command.

enumerator released_by_initiator

PN532 as target has been released by the initiator.

enumerator card_exchanged

PN532 and ISO/IEC14443-3B only: the ID of the card does not match, meaning that the expected card has been exchanged with another one.

enumerator card_disappeared

PN532 and ISO/IEC14443-3B only: the card previously activated has disappeared..

enumerator nfcid3_initiator_target_mismatch

Mismatch between the NFCID3 initiator and the NFCID3 target in DEP 212/424 kbps passive..

enumerator overcurrent

Over-current event detected.

enumerator nad_missing_in_dep_frame

NAD missing in DEP frame.