From b986818bd58607fe92996c3e7cb679f352c4661f Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 29 Jul 2020 10:18:25 +0200 Subject: [PATCH] some defines to make it more readable --- include/protocols.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/protocols.h b/include/protocols.h index 18e580b54..4c63872d8 100644 --- a/include/protocols.h +++ b/include/protocols.h @@ -297,7 +297,6 @@ ISO 7816-4 Basic interindustry commands. For command APDU's. #define TOPAZ_WRITE_E8 0x54 // Write-with-erase (eight bytes) #define TOPAZ_WRITE_NE8 0x1B // Write-no-erase (eight bytes) - // Definitions of which protocol annotations there are available #define ISO_14443A 0 #define ICLASS 1 @@ -315,7 +314,7 @@ ISO 7816-4 Basic interindustry commands. For command APDU's. #define PROTO_HITAG2 13 #define PROTO_HITAGS 14 -//-- Picopass fuses +// Picopass fuses #define FUSE_FPERS 0x80 #define FUSE_CODING1 0x40 #define FUSE_CODING0 0x20 @@ -325,6 +324,11 @@ ISO 7816-4 Basic interindustry commands. For command APDU's. #define FUSE_FPROD0 0x02 #define FUSE_RA 0x01 +// Picopass Pagemode fuses +#define PICOPASS_NON_SECURE_PAGEMODE 0x01 +#define PICOPASS_SECURE_PAGEMODE 0x11 + + // ISO 7816-4 Basic interindustry commands. For command APDU's. #define ISO7816_READ_BINARY 0xB0 #define ISO7816_WRITE_BINARY 0xD0