iso15sniff: add an "iclass" bool parameter to SniffIso15693()

This is required to disable ISO15 flags parsing when sniffing iClass
because those flags don't exist in iClass coms (iClass iso15 based
communications are always fast and using only one subcarrier).
This commit is contained in:
Yann GASCUEL 2022-03-16 11:26:07 +01:00
commit c5f216558c
5 changed files with 18 additions and 11 deletions

View file

@ -1232,7 +1232,7 @@ static void PacketReceived(PacketCommandNG *packet) {
break;
}
case CMD_HF_ISO15693_SNIFF: {
SniffIso15693(0, NULL);
SniffIso15693(0, NULL, false);
reply_ng(CMD_HF_ISO15693_SNIFF, PM3_SUCCESS, NULL, 0);
break;
}