From 681e793c8d1258841306dacfcf57c27741a684e7 Mon Sep 17 00:00:00 2001 From: Federico Cerutti Date: Wed, 7 Nov 2018 21:50:09 +0100 Subject: [PATCH] Added all response error codes from the standard --- Firmware/Chameleon-Mini/Application/ISO15693-A.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Firmware/Chameleon-Mini/Application/ISO15693-A.h b/Firmware/Chameleon-Mini/Application/ISO15693-A.h index 5bf0b0e..1c21828 100644 --- a/Firmware/Chameleon-Mini/Application/ISO15693-A.h +++ b/Firmware/Chameleon-Mini/Application/ISO15693-A.h @@ -42,6 +42,16 @@ #define ISO15693_RES_FLAG_ERROR 0x01 #define ISO15693_RES_FLAG_PROT_EXT 0x08 +#define ISO15693_RES_ERR_NOT_SUPP 0x01 +#define ISO15693_RES_ERR_NOT_REC 0x02 +#define ISO15693_RES_ERR_OPT_NOT_SUPP 0x03 +#define ISO15693_RES_ERR_GENERIC 0x0F +#define ISO15693_RES_ERR_BLK_NOT_AVL 0x10 +#define ISO15693_RES_ERR_BLK_ALRD_LKD 0x11 +#define ISO15693_RES_ERR_BLK_CHG_LKD 0x12 +#define ISO15693_RES_ERR_BLK_NOT_PRGR 0x13 +#define ISO15693_RES_ERR_BLK_NOT_LKD 0x14 + #define ISO15693_MIN_FRAME_SIZE 5