]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf.c
CHG: NEDAP, changed back the preamble. With new parity check it has a decent detec...
[proxmark3-svn] / client / cmdhf.c
index 8f4c68d50bd08c54bece5324cab1a3e11d9ecf48..a14c2e59f3b922df5ef5b1b245028df9913615f6 100644 (file)
@@ -275,12 +275,11 @@ void annotateIso14443b(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize)
                                case 2: snprintf(exp, size,"4 slots ");break;
                                case 3: snprintf(exp, size,"8 slots ");break;
                                default: snprintf(exp, size,"16 slots ");break;
-                       }
-                       
-                       if ( (cmd[2] & 0x4) )
-                               snprintf(exp, size,"REQB");
-                       else
+                       }                       
+                       if ( (cmd[2] & 0x8) )
                                snprintf(exp, size,"WUPB");
+                       else
+                               snprintf(exp, size,"REQB");
                        break;
                }
                case ISO14443B_ATTRIB           : snprintf(exp,size,"ATTRIB");break;
Impressum, Datenschutz