split nfcbarcode from iso14443a
This commit is contained in:
@@ -213,9 +213,9 @@ static int CmdHfThinFilmList(const char *Cmd) {
|
||||
|
||||
static command_t CommandTable[] = {
|
||||
{"help", CmdHelp, AlwaysAvailable, "This help"},
|
||||
{"info", CmdHfThinFilmInfo, IfPm3Flash, "Tag information"},
|
||||
{"list", CmdHfThinFilmList, AlwaysAvailable, "List ISO 14443A / Thinfilm history - not correct"},
|
||||
{"sim", CmdHfThinFilmSim, IfPm3Flash, "Fake Thinfilm tag"},
|
||||
{"info", CmdHfThinFilmInfo, IfPm3NfcBarcode, "Tag information"},
|
||||
{"list", CmdHfThinFilmList, AlwaysAvailable, "List NFC Barcode / Thinfilm history - not correct"},
|
||||
{"sim", CmdHfThinFilmSim, IfPm3NfcBarcode, "Fake Thinfilm tag"},
|
||||
{NULL, NULL, NULL, NULL}
|
||||
};
|
||||
|
||||
|
||||
@@ -133,6 +133,12 @@ bool IfPm3Iclass(void) {
|
||||
return pm3_capabilities.compiled_with_iclass;
|
||||
}
|
||||
|
||||
bool IfPm3NfcBarcode(void) {
|
||||
if (!IfPm3Present())
|
||||
return false;
|
||||
return pm3_capabilities.compiled_with_nfcbarcode;
|
||||
}
|
||||
|
||||
bool IfPm3Lcd(void) {
|
||||
if (!IfPm3Present())
|
||||
return false;
|
||||
|
||||
@@ -38,6 +38,7 @@ bool IfPm3Iso15693(void);
|
||||
bool IfPm3Felica(void);
|
||||
bool IfPm3Legicrf(void);
|
||||
bool IfPm3Iclass(void);
|
||||
bool IfPm3NfcBarcode(void);
|
||||
bool IfPm3Lcd(void);
|
||||
|
||||
// Print help for each command in the command array
|
||||
|
||||
Reference in New Issue
Block a user