Replace WITH_ISO14443b by dynamic detection in client

This commit is contained in:
Philippe Teuwen 2019-05-01 23:17:14 +02:00
commit 745bff4143

View file

@ -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}
};