mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 12:59:44 -07:00
fix detection of lf t55x7 if xtd bits set but...
...not used
This commit is contained in:
parent
8e90cd4174
commit
35cfcfc7a1
1 changed files with 3 additions and 3 deletions
|
@ -784,14 +784,14 @@ bool test(uint8_t mode, uint8_t *offset, int *fndBitRate, uint8_t clk, bool *Q5)
|
||||||
uint8_t extend = PackBits(si, 1, DemodBuffer); si += 1; //bit 15 extended mode
|
uint8_t extend = PackBits(si, 1, DemodBuffer); si += 1; //bit 15 extended mode
|
||||||
uint8_t modread = PackBits(si, 5, DemodBuffer); si += 5+2+1;
|
uint8_t modread = PackBits(si, 5, DemodBuffer); si += 5+2+1;
|
||||||
//uint8_t pskcr = PackBits(si, 2, DemodBuffer); si += 2+1; //could check psk cr
|
//uint8_t pskcr = PackBits(si, 2, DemodBuffer); si += 2+1; //could check psk cr
|
||||||
uint8_t nml01 = PackBits(si, 1, DemodBuffer); si += 1+5; //bit 24, 30, 31 could be tested for 0 if not extended mode
|
//uint8_t nml01 = PackBits(si, 1, DemodBuffer); si += 1+5; //bit 24, 30, 31 could be tested for 0 if not extended mode
|
||||||
uint8_t nml02 = PackBits(si, 2, DemodBuffer); si += 2;
|
//uint8_t nml02 = PackBits(si, 2, DemodBuffer); si += 2;
|
||||||
|
|
||||||
//if extended mode
|
//if extended mode
|
||||||
bool extMode =( (safer == 0x6 || safer == 0x9) && extend) ? TRUE : FALSE;
|
bool extMode =( (safer == 0x6 || safer == 0x9) && extend) ? TRUE : FALSE;
|
||||||
|
|
||||||
if (!extMode){
|
if (!extMode){
|
||||||
if (nml01 || nml02 || xtRate) continue;
|
if (xtRate) continue; //nml01 || nml02 || caused issues on noralys tags
|
||||||
}
|
}
|
||||||
//test modulation
|
//test modulation
|
||||||
if (!testModulation(mode, modread)) continue;
|
if (!testModulation(mode, modread)) continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue