ADD: started to add tracelog in legic

ADD: remake of legic codebase.
ADD: started with a annotation for LEGIC in 'hf list'
This commit is contained in:
iceman1001 2016-09-02 16:25:54 +02:00
commit c71c5ee156
8 changed files with 526 additions and 447 deletions

View file

@ -107,7 +107,8 @@ int CmdLegicDecode(const char *Cmd) {
int bIsSegmented = 0;
// download EML memory, where the "legic read" command puts the data.
GetEMLFromBigBuf(data_buf, sizeof(data_buf), 0);
// copy data from proxmark into buffer
GetFromBigBuf(data_buf,sizeof(data_buf),0);
if ( !WaitForResponseTimeout(CMD_ACK, NULL, 2000)){
PrintAndLog("Command execute timeout");
return 1;