nfc_initiator_transceive_bytes() returns NFC_EMFCAUTHFAIL when AUTH command failed on a Mifare Classic

This commit is contained in:
Romuald Conty 2012-11-01 01:27:06 +01:00
parent 3629219a3b
commit 9f90a04a84
4 changed files with 8 additions and 6 deletions

View file

@ -181,6 +181,11 @@ extern "C" {
* Error while RF transmission
*/
#define NFC_ERFTRANS -20
/** @ingroup error
* @hideinitializer
* MIFARE Classic: authentication failed
*/
#define NFC_EMFCAUTHFAIL -30
/** @ingroup error
* @hideinitializer
* Software error (allocation, file/pipe creation, etc.)