Enum pn532::channel_error

Enum Documentation

enum class pn532::channel_error

Channel-level errors.

Note

The enum entry channel_error::app_error is special in the sense that the PN532 has actual insight into the content of the packet tramission, i.e. it knows what command is being sent. This is the case for example when the target that the PN532 connects to is target_type::mifare_classic_ultralight. In that case an error from the card will raise an application error.

Values:

enumerator timeout

The given timeout was exceeded before the transmission was complete.

enumerator hw_error

Hardware error during transmission.

enumerator malformed

Malformed data cannot be parsed, or the type of frame received was unexpected.

enumerator app_error

The PN532 gave an application-level ERROR frame.