ADD: added the skeleton for analysing dates in a given byte array.
This commit is contained in:
@@ -46,9 +46,16 @@ int CmdAnalyseLCR(const char *Cmd) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CmdAnalyseDates(const char *Cmd){
|
||||||
|
// look for datestamps in a given array of bytes
|
||||||
|
PrintAndLog("To be implemented. If you feel to contribute!");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
static command_t CommandTable[] = {
|
static command_t CommandTable[] = {
|
||||||
{"help", CmdHelp, 1, "This help"},
|
{"help", CmdHelp, 1, "This help"},
|
||||||
{"lcr", CmdAnalyseLCR, 0, "Generate final byte for XOR LRC"},
|
{"lcr", CmdAnalyseLCR, 0, "Generate final byte for XOR LRC"},
|
||||||
|
{"dates", CmdAnalyseDates, 0, "Look for datestamps in a given array of bytes"},
|
||||||
{NULL, NULL, 0, NULL}
|
{NULL, NULL, 0, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -20,5 +20,5 @@ command_t * CmdDataCommands();
|
|||||||
|
|
||||||
int CmdAnalyse(const char *Cmd);
|
int CmdAnalyse(const char *Cmd);
|
||||||
int CmdAnalyseLCR(const char *Cmd);
|
int CmdAnalyseLCR(const char *Cmd);
|
||||||
|
int CmdAnalyseDates(const char *Cmd);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user