fixed to get UID from even partial trace lists if 9320 exists
This commit is contained in:
1 parent
fe11c1876f
commit
97263ab3b1
2 files changed
+5
No files matched your search
@@ -1570,6 +1570,10 @@ void annotateMifare(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize,
|
||||
|
||||
// get UID
|
||||
if (MifareAuthState == masNone) {
|
||||
if (isResponse && cmdsize == 5 ) {
|
||||
ClearAuthData();
|
||||
AuthData.uid = bytes_to_num(&cmd[0], 4);
|
||||
}
|
||||
if (cmdsize == 9 && cmd[0] == ISO14443A_CMD_ANTICOLL_OR_SELECT && cmd[1] == 0x70) {
|
||||
ClearAuthData();
|
||||
AuthData.uid = bytes_to_num(&cmd[2], 4);
|
||||
|
||||
Reference in new issue
Block a user