mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
more verification on FDX-B tag demod - reduce...
... false positives
This commit is contained in:
parent
7ce6e2c0b5
commit
29b6cacc6f
2 changed files with 8 additions and 6 deletions
|
@ -1491,9 +1491,9 @@ int CmdFDXBdemodBI(const char *Cmd){
|
|||
|
||||
setDemodBuf(BitStream, 128, preambleIndex);
|
||||
|
||||
// remove but don't verify parity. (pType = 2)
|
||||
// remove marker bits (1's every 9th digit after preamble) (pType = 2)
|
||||
size = removeParity(BitStream, preambleIndex + 11, 9, 2, 117);
|
||||
if ( size <= 103 ) {
|
||||
if ( size != 104 ) {
|
||||
if (g_debugMode) PrintAndLog("Error removeParity:: %d", size);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue