begin of dynamic capabilities handling in client

This commit is contained in:
Philippe Teuwen 2019-05-01 20:48:15 +02:00
commit ca43afa19b
55 changed files with 554 additions and 536 deletions

View file

@ -839,17 +839,17 @@ static int CmdHFMFPNDEF(const char *cmd) {
}
static command_t CommandTable[] = {
{"help", CmdHelp, 1, "This help"},
{"info", CmdHFMFPInfo, 0, "Info about Mifare Plus tag"},
{"wrp", CmdHFMFPWritePerso, 0, "Write Perso command"},
{"initp", CmdHFMFPInitPerso, 0, "Fills all the card's keys"},
{"commitp", CmdHFMFPCommitPerso, 0, "Move card to SL1 or SL3 mode"},
{"auth", CmdHFMFPAuth, 0, "Authentication"},
{"rdbl", CmdHFMFPRdbl, 0, "Read blocks"},
{"rdsc", CmdHFMFPRdsc, 0, "Read sectors"},
{"wrbl", CmdHFMFPWrbl, 0, "Write blocks"},
{"mad", CmdHFMFPMAD, 0, "Checks and prints MAD"},
{"ndef", CmdHFMFPNDEF, 0, "Prints NDEF records from card"},
{"help", CmdHelp, AlwaysAvailable, "This help"},
{"info", CmdHFMFPInfo, IfPm3Present, "Info about Mifare Plus tag"},
{"wrp", CmdHFMFPWritePerso, IfPm3Present, "Write Perso command"},
{"initp", CmdHFMFPInitPerso, IfPm3Present, "Fills all the card's keys"},
{"commitp", CmdHFMFPCommitPerso, IfPm3Present, "Move card to SL1 or SL3 mode"},
{"auth", CmdHFMFPAuth, IfPm3Present, "Authentication"},
{"rdbl", CmdHFMFPRdbl, IfPm3Present, "Read blocks"},
{"rdsc", CmdHFMFPRdsc, IfPm3Present, "Read sectors"},
{"wrbl", CmdHFMFPWrbl, IfPm3Present, "Write blocks"},
{"mad", CmdHFMFPMAD, IfPm3Present, "Checks and prints MAD"},
{"ndef", CmdHFMFPNDEF, IfPm3Present, "Prints NDEF records from card"},
{NULL, NULL, 0, NULL}
};