diff --git a/client/cmdtrace.c b/client/cmdtrace.c index 0e2093d98..76fd05d5d 100644 --- a/client/cmdtrace.c +++ b/client/cmdtrace.c @@ -46,7 +46,9 @@ static int usage_trace_list() { PrintAndLogEx(NORMAL, " iclass - interpret data as iclass communications"); PrintAndLogEx(NORMAL, " legic - interpret data as LEGIC communications"); PrintAndLogEx(NORMAL, " felica - interpret data as ISO18092 / FeliCa communications"); - PrintAndLogEx(NORMAL, " hitag - interpret data as Hitag2 / HitagS communications"); + PrintAndLogEx(NORMAL, " hitag1 - interpret data as Hitag1 communications"); + PrintAndLogEx(NORMAL, " hitag2 - interpret data as Hitag2 communications"); + PrintAndLogEx(NORMAL, " hitags - interpret data as HitagS communications"); PrintAndLogEx(NORMAL, " lto - interpret data as LTO-CM communications"); PrintAndLogEx(NORMAL, ""); PrintAndLogEx(NORMAL, "Examples:"); diff --git a/include/protocols.h b/include/protocols.h index 222e16ab8..e1d898d53 100644 --- a/include/protocols.h +++ b/include/protocols.h @@ -591,11 +591,12 @@ ISO 7816-4 Basic interindustry commands. For command APDU's. // HITAG2 commands #define HITAG2_START_AUTH 0x3 // left 5 bits only +#define HITAG2_HALT 0x0 // left 5 bits only #define HITAG2_READ_PAGE 0x3 // page number in bits 5 to 3, page number inverted in bit 0 and following 2 bits #define HITAG2_READ_PAGE_INVERTED 0x1 // page number in bits 5 to 3, page number inverted in bit 0 and following 2 bits #define HITAG2_WRITE_PAGE 0x2 // page number in bits 5 to 3, page number -#define HITAG2_HALT 0x0 // left 5 bits only + // HITAG S commands #define HITAGS_QUIET 0x70