mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-12 16:22:59 -07:00
More work on iclass
This commit is contained in:
parent
17cba2693d
commit
f83cc12613
3 changed files with 34 additions and 13 deletions
|
@ -69,7 +69,6 @@ int CmdHFiClassList(const char *Cmd)
|
|||
uint8_t *frame;
|
||||
uint32_t EndOfTransmissionTimestamp = 0;
|
||||
|
||||
uint8_t empty[4] = {0x44,0x44,0x44,0x44};
|
||||
|
||||
for( i=0; i < 1900;)
|
||||
{
|
||||
|
@ -91,9 +90,8 @@ int CmdHFiClassList(const char *Cmd)
|
|||
first_timestamp = timestamp;
|
||||
}
|
||||
|
||||
// Break and stick with current result if buffer
|
||||
// was not completely full
|
||||
if(memcmp(frame,empty,sizeof(empty))) break;
|
||||
// Break and stick with current result if buffer was not completely full
|
||||
if (frame[0] == 0x44 && frame[1] == 0x44 && frame[2] == 0x44 && frame[3] == 0x44) break;
|
||||
|
||||
char line[1000] = "";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue