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

@ -366,7 +366,8 @@ int CmdSetDebugMode(const char *Cmd) {
}
//by marshmellow
// max output to 512 bits if we have more - should be plenty
// max output to 512 bits if we have more
// doesn't take inconsideration where the demod offset or bitlen found.
void printDemodBuff(void) {
int len = DemodBufferLen;
if (len < 1) {
@ -530,7 +531,7 @@ int ASKDemod_ext(const char *Cmd, bool verbose, bool emSearch, uint8_t askType,
PrintAndLogEx(DEBUG, "ASK/Manchester - Clock: %d - Decoded bitstream:", clk);
else
PrintAndLogEx(DEBUG, "ASK/Raw - Clock: %d - Decoded bitstream:", clk);
// Now output the bitstream to the scrollback by line of 16 bits
printDemodBuff();
}
uint64_t lo = 0;