]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
cleaned up some code
[proxmark3-svn] / armsrc / appmain.c
index 4ff1e8113d1e578c421bae3641862c6838e96d20..b107f594b2a594eb2ae98244e5c75d08ebd6ff87 100644 (file)
@@ -706,7 +706,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
                        ReaderIso14443a(c, &ack);
                        break;
                case CMD_SIMULATE_TAG_ISO_14443a:
-                       SimulateIso14443aTag(c->arg[0], c->arg[1]);  // ## Simulate iso14443a tag - pass tag type & UID
+                       SimulateIso14443aTag(c->arg[0], c->arg[1], c->arg[2]);  // ## Simulate iso14443a tag - pass tag type & UID
                        break;
                        
                case CMD_READER_MIFARE:
@@ -754,6 +754,12 @@ void UsbPacketReceived(uint8_t *packet, int len)
                case CMD_SNOOP_ICLASS:
                        SnoopIClass();
                        break;
+               case CMD_SIMULATE_TAG_ICLASS:
+                       SimulateIClass(c->arg[0], c->d.asBytes);
+                       break;
+               case CMD_READER_ICLASS:
+                       ReaderIClass(c->arg[0]);
+                       break;
 #endif
 
                case CMD_SIMULATE_TAG_HF_LISTEN:
Impressum, Datenschutz