]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
Corrected indentation in usb_cmd.h
[proxmark3-svn] / armsrc / appmain.c
index 3fdbed5cb57d4d8f2ea6c34a203739bdfab612c5..7830265fa253e6c87cd2c84f76beaa2cacd9c6bc 100644 (file)
@@ -706,7 +706,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
 
 #ifdef WITH_ISO14443a
                case CMD_SNOOP_ISO_14443a:
-                       SnoopIso14443a();
+                       SnoopIso14443a(c->arg[0]);
                        break;
                case CMD_READER_ISO_14443a:
                        ReaderIso14443a(c, &ack);
@@ -761,6 +761,11 @@ void UsbPacketReceived(uint8_t *packet, int len)
                case CMD_MIFARE_EML_CGETBLOCK:
                        MifareCGetBlock(c->arg[0], c->arg[1], c->arg[2], c->d.asBytes);
                        break;
+                       
+               // mifare sniffer
+               case CMD_MIFARE_SNIFFER:
+                       SniffMifare(c->arg[0]);
+                       break;
 #endif
 
 #ifdef WITH_ICLASS
Impressum, Datenschutz