chg: 'lf indala clone' - differnt input parms. '-L' gives a long UID.

chg: 'lf indala demod' - tries to descramble parts,  and detection is changed.  Still issues with PSK2..
This commit is contained in:
iceman1001 2019-03-26 09:09:43 +01:00
commit 52be3f4fe5
7 changed files with 216 additions and 110 deletions

View file

@ -23,6 +23,7 @@
#include "lfsampling.h"
#include "BigBuf.h"
#include "mifareutil.h"
#include "hitag.h"
#define DEBUG 1
@ -707,7 +708,7 @@ void UsbPacketReceived(uint8_t *packet, int len) {
SimulateTagLowFrequencyBidir(c->arg[0], c->arg[1]);
break;
case CMD_INDALA_CLONE_TAG:
CopyIndala64toT55x7(c->arg[0], c->arg[1]);
CopyIndala64toT55x7(c->d.asDwords[0], c->d.asDwords[1]);
break;
case CMD_INDALA_CLONE_TAG_L:
CopyIndala224toT55x7(