mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 22:03:19 -07:00
start fixing hf 15:
* implement a real time Decoder (will be required for sniffing) * switch off field after each command (protect rdv40) * correctly signal field status with LED D
This commit is contained in:
parent
b8a92318be
commit
22c00adf68
2 changed files with 386 additions and 289 deletions
File diff suppressed because it is too large
Load diff
|
@ -373,7 +373,8 @@ int CmdHF15Read(const char *Cmd)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Record Activity without enabeling carrier
|
// Record Activity without enabling carrier
|
||||||
|
// TODO: currently it DOES enable the carrier
|
||||||
int CmdHF15Record(const char *Cmd)
|
int CmdHF15Record(const char *Cmd)
|
||||||
{
|
{
|
||||||
UsbCommand c = {CMD_RECORD_RAW_ADC_SAMPLES_ISO_15693};
|
UsbCommand c = {CMD_RECORD_RAW_ADC_SAMPLES_ISO_15693};
|
||||||
|
@ -519,7 +520,7 @@ static command_t CommandTable15[] =
|
||||||
{"cmd", CmdHF15Cmd, 0, "Send direct commands to ISO15693 tag"},
|
{"cmd", CmdHF15Cmd, 0, "Send direct commands to ISO15693 tag"},
|
||||||
{"findafi", CmdHF15Afi, 0, "Brute force AFI of an ISO15693 tag"},
|
{"findafi", CmdHF15Afi, 0, "Brute force AFI of an ISO15693 tag"},
|
||||||
{"dumpmemory", CmdHF15DumpMem, 0, "Read all memory pages of an ISO15693 tag"},
|
{"dumpmemory", CmdHF15DumpMem, 0, "Read all memory pages of an ISO15693 tag"},
|
||||||
{NULL, NULL, 0, NULL}
|
{NULL, NULL, 0, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
int CmdHF15(const char *Cmd)
|
int CmdHF15(const char *Cmd)
|
||||||
|
@ -572,9 +573,9 @@ int CmdHF15CmdInquiry(const char *Cmd)
|
||||||
|
|
||||||
// Turns debugging on(1)/off(0)
|
// Turns debugging on(1)/off(0)
|
||||||
int CmdHF15CmdDebug( const char *cmd) {
|
int CmdHF15CmdDebug( const char *cmd) {
|
||||||
int debug=atoi(cmd);
|
int debug = atoi(cmd);
|
||||||
if (strlen(cmd)<1) {
|
if (strlen(cmd) < 1) {
|
||||||
PrintAndLog("Usage: hf 15 cmd debug <0|1>");
|
PrintAndLog("Usage: hf 15 debug <0|1>");
|
||||||
PrintAndLog(" 0 no debugging");
|
PrintAndLog(" 0 no debugging");
|
||||||
PrintAndLog(" 1 turn debugging on");
|
PrintAndLog(" 1 turn debugging on");
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue