mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
adapted hf iclass list to new trace format
This commit is contained in:
parent
db4de4d82f
commit
545f203826
2 changed files with 111 additions and 216 deletions
|
@ -78,6 +78,10 @@ int CmdHF14AList(const char *Cmd)
|
|||
if(tracepos == 0) {
|
||||
first_timestamp = timestamp;
|
||||
}
|
||||
|
||||
// Break and stick with current result if buffer was not completely full
|
||||
if (timestamp == 0x44444444) break;
|
||||
|
||||
tracepos += 4;
|
||||
duration = *((uint16_t *)(trace + tracepos));
|
||||
tracepos += 2;
|
||||
|
@ -102,9 +106,6 @@ int CmdHF14AList(const char *Cmd)
|
|||
uint8_t *parityBytes = trace + tracepos;
|
||||
tracepos += parity_len;
|
||||
|
||||
// Break and stick with current result if buffer was not completely full
|
||||
if (timestamp == 0x44444444) break;
|
||||
|
||||
char line[16][110];
|
||||
for (int j = 0; j < data_len; j++) {
|
||||
int oddparity = 0x01;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue