break;
#endif
+ case CMD_SIMULATE_TAG_LEGIC_RF:
+ LegicRfSimulate(c->arg[0], c->arg[1], c->arg[2]);
+ break;
+
+ case CMD_WRITER_LEGIC_RF:
+ LegicRfWriter(c->arg[1], c->arg[0]);
+ break;
+
case CMD_READER_LEGIC_RF:
LegicRfReader(c->arg[0], c->arg[1]);
break;
#ifdef WITH_ISO14443a
case CMD_READER_ISO_14443a:
- ReaderIso14443a(c->arg[0]);
+ ReaderIso14443a(c, &ack);
break;
#endif
}
n.arg[0] = c->arg[0];
memcpy(n.d.asDwords, BigBuf+c->arg[0], 12*sizeof(uint32_t));
+ LED_B_ON();
UsbSendPacket((uint8_t *)&n, sizeof(n));
+ LED_B_OFF();
break;
}