]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
now SAK check is OK
authormerlokk <olegmsn@gmail.com>
Wed, 1 Nov 2017 15:02:35 +0000 (17:02 +0200)
committermerlokk <olegmsn@gmail.com>
Wed, 1 Nov 2017 15:02:35 +0000 (17:02 +0200)
armsrc/iso14443a.c

index 01026aa5e1c534ead774941be4637f06f32b3b11..860af2382b1e39a54efc8eae9d666fc438b20c01 100644 (file)
@@ -1817,8 +1817,8 @@ int iso14443a_select_card(byte_t *uid_ptr, iso14a_card_select_t *p_hi14a_card, u
        }
 
        // non iso14443a compliant tag
        }
 
        // non iso14443a compliant tag
-       // now not work
-       //if( (sak & 0x20) == 0) return 2; 
+       // https://www.nxp.com/docs/en/application-note/AN10834.pdf page 7
+       if( (sak & 0x20) != 0) return 2; 
 
        if (!no_rats) {
                // Request for answer to select
 
        if (!no_rats) {
                // Request for answer to select
Impressum, Datenschutz