Skip to content

Commit

Permalink
Merge pull request #2538 from sillygir1/sniffing-fix
Browse files Browse the repository at this point in the history
Fix hf 14a sniff ignoring reader commands
iceman1001 authored Sep 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents abd671b + 78150d8 commit 9129cd6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions armsrc/iso14443a.c
Original file line number Diff line number Diff line change
@@ -803,9 +803,10 @@ void RAMFUNC SniffIso14443a(uint8_t param) {

// check - if there is a short 7bit request from reader
if ((!triggered) && (param & 0x02) && (Uart.len == 1) && (Uart.bitCount == 7)) {

triggered = true;

}

if (triggered) {
if (!LogTrace(receivedCmd,
Uart.len,
Uart.startTime * 16 - DELAY_READER_AIR2ARM_AS_SNIFFER,

0 comments on commit 9129cd6

Please sign in to comment.