]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
FIX: minor parseing bug when loading dumpkeys.bin file.
[proxmark3-svn] / armsrc / appmain.c
index d239ceb05cd6cfb44766d94476399503136798e8..be904b4fe2bd131e80b314a1c15d00c2eb7ba657 100644 (file)
@@ -674,7 +674,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
                        break;
                case CMD_SIMULATE_TAG_125K:
                        LED_A_ON();
-                       SimulateTagLowFrequency(c->arg[0], c->arg[1], 1);
+                       SimulateTagLowFrequency(c->arg[0], c->arg[1], 0);
                        LED_A_OFF();
                        break;
                case CMD_LF_SIMULATE_BIDIR:
@@ -743,7 +743,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
                        ReaderIso15693(c->arg[0]);
                        break;
                case CMD_SIMTAG_ISO_15693:
-                       SimTagIso15693(c->arg[0]);
+                       SimTagIso15693(c->arg[0], c->d.asBytes);
                        break;
 #endif
 
@@ -948,7 +948,7 @@ void UsbPacketReceived(uint8_t *packet, int len)
 
                case CMD_DOWNLOADED_SIM_SAMPLES_125K: {
                        uint8_t *b = (uint8_t *)BigBuf;
-                       memcpy(b+c->arg[0], c->d.asBytes, 48);
+                       memcpy(b+c->arg[0], c->d.asBytes, USB_CMD_DATA_SIZE);
                        cmd_send(CMD_ACK,0,0,0,0,0);
                        break;
                }       
Impressum, Datenschutz