From 745bff41435c0a98fa4ec17c73074b3cff623045 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 1 May 2019 23:17:14 +0200 Subject: [PATCH] Replace WITH_ISO14443b by dynamic detection in client --- client/cmdhf14b.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/client/cmdhf14b.c b/client/cmdhf14b.c index c11074850..5d794b3b1 100644 --- a/client/cmdhf14b.c +++ b/client/cmdhf14b.c @@ -1074,17 +1074,17 @@ static int srix4kValid(const char *Cmd) { } */ static command_t CommandTable[] = { - {"help", CmdHelp, AlwaysAvailable, "This help"}, - {"dump", CmdHF14BDump, IfPm3Present, "Read all memory pages of an ISO14443-B tag, save to file"}, - {"info", CmdHF14Binfo, IfPm3Present, "Tag information"}, - {"list", CmdHF14BList, IfPm3Present, "List ISO 14443B history"}, - {"raw", CmdHF14BCmdRaw, IfPm3Present, "Send raw hex data to tag"}, - {"reader", CmdHF14BReader, IfPm3Present, "Act as a 14443B reader to identify a tag"}, - {"sim", CmdHF14BSim, IfPm3Present, "Fake ISO 14443B tag"}, - {"sniff", CmdHF14BSniff, IfPm3Present, "Eavesdrop ISO 14443B"}, - {"sriread", CmdHF14BReadSri, IfPm3Present, "Read contents of a SRI512 | SRIX4K tag"}, - {"sriwrite", CmdHF14BWriteSri, IfPm3Present, "Write data to a SRI512 | SRIX4K tag"}, - //{"valid", srix4kValid, 1, "srix4k checksum test"}, + {"help", CmdHelp, AlwaysAvailable, "This help"}, + {"dump", CmdHF14BDump, IfPm3Iso14443b, "Read all memory pages of an ISO14443-B tag, save to file"}, + {"info", CmdHF14Binfo, IfPm3Iso14443b, "Tag information"}, + {"list", CmdHF14BList, IfPm3Iso14443b, "List ISO 14443B history"}, + {"raw", CmdHF14BCmdRaw, IfPm3Iso14443b, "Send raw hex data to tag"}, + {"reader", CmdHF14BReader, IfPm3Iso14443b, "Act as a 14443B reader to identify a tag"}, + {"sim", CmdHF14BSim, IfPm3Iso14443b, "Fake ISO 14443B tag"}, + {"sniff", CmdHF14BSniff, IfPm3Iso14443b, "Eavesdrop ISO 14443B"}, + {"sriread", CmdHF14BReadSri, IfPm3Iso14443b, "Read contents of a SRI512 | SRIX4K tag"}, + {"sriwrite", CmdHF14BWriteSri, IfPm3Iso14443b, "Write data to a SRI512 | SRIX4K tag"}, + //{"valid", srix4kValid, AlwaysAvailable, "srix4k checksum test"}, {NULL, NULL, NULL, NULL} };