mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 14:13:42 -07:00
maybe like this
This commit is contained in:
parent
7539a4f4ed
commit
c871d243f3
1 changed files with 2 additions and 5 deletions
|
@ -1820,11 +1820,8 @@ int iso14443a_select_card(byte_t *uid_ptr, iso14a_card_select_t *p_hi14a_card, u
|
||||||
p_hi14a_card->sak = sak;
|
p_hi14a_card->sak = sak;
|
||||||
}
|
}
|
||||||
|
|
||||||
// non iso14443a compliant tag
|
// PICC compilant with iso14443a-4 ---> (SAK & 0x20 != 0)
|
||||||
// https://www.nxp.com/docs/en/application-note/AN10834.pdf page 7
|
if (sak & 0x20 && !no_rats) {
|
||||||
if( (sak & 0x20) != 0) return 2;
|
|
||||||
|
|
||||||
if (!no_rats) {
|
|
||||||
// Request for answer to select
|
// Request for answer to select
|
||||||
AppendCrc14443a(rats, 2);
|
AppendCrc14443a(rats, 2);
|
||||||
ReaderTransmit(rats, sizeof(rats), NULL);
|
ReaderTransmit(rats, sizeof(rats), NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue