]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
#ifdef out the calls to the ISO15693/14443/14443a functions so that the -D on the...
[proxmark3-svn] / armsrc / appmain.c
index 5313202abb4ac8e30ff3b41f31edd7dd8b566ab5..828926f12dbfa4201e3ca539b05389e3f6cb3b2a 100644 (file)
@@ -8,6 +8,7 @@
 #include <proxmark3.h>\r
 #include <stdlib.h>\r
 #include "apps.h"\r
+#include "legicrf.h"\r
 #ifdef WITH_LCD\r
 #include "fonts.h"\r
 #include "LCD.h"\r
@@ -540,53 +541,81 @@ void UsbPacketReceived(BYTE *packet, int len)
                        ModThenAcquireRawAdcSamples125k(c->ext1,c->ext2,c->ext3,c->d.asBytes);\r
                        break;\r
 \r
+#ifdef WITH_ISO15693\r
                case CMD_ACQUIRE_RAW_ADC_SAMPLES_ISO_15693:\r
                        AcquireRawAdcSamplesIso15693();\r
                        break;\r
+#endif\r
 \r
                case CMD_BUFF_CLEAR:\r
                        BufferClear();\r
                        break;\r
 \r
+#ifdef WITH_ISO15693\r
                case CMD_READER_ISO_15693:\r
                        ReaderIso15693(c->ext1);\r
                        break;\r
+#endif\r
+\r
+               case CMD_READER_LEGIC_RF:\r
+                       LegicRfReader();\r
+                       break;\r
 \r
+#ifdef WITH_ISO15693\r
                case CMD_SIMTAG_ISO_15693:\r
                        SimTagIso15693(c->ext1);\r
                        break;\r
+#endif\r
 \r
+#ifdef WITH_ISO14443b\r
                case CMD_ACQUIRE_RAW_ADC_SAMPLES_ISO_14443:\r
                        AcquireRawAdcSamplesIso14443(c->ext1);\r
                        break;\r
+#endif\r
 \r
+#ifdef WITH_ISO14443b\r
                case CMD_READ_SRI512_TAG:\r
                        ReadSRI512Iso14443(c->ext1);\r
                        break;\r
+#endif\r
 \r
+#ifdef WITH_ISO14443a\r
                case CMD_READER_ISO_14443a:\r
                        ReaderIso14443a(c->ext1);\r
                        break;\r
+#endif\r
 \r
+#ifdef WITH_ISO14443b\r
                case CMD_SNOOP_ISO_14443:\r
                        SnoopIso14443();\r
                        break;\r
+#endif\r
 \r
+#ifdef WITH_ISO14443a\r
                case CMD_SNOOP_ISO_14443a:\r
                        SnoopIso14443a();\r
                        break;\r
+#endif\r
 \r
                case CMD_SIMULATE_TAG_HF_LISTEN:\r
                        SimulateTagHfListen();\r
                        break;\r
 \r
+#ifdef WITH_ISO14443b\r
                case CMD_SIMULATE_TAG_ISO_14443:\r
                        SimulateIso14443Tag();\r
                        break;\r
-\r
+#endif\r
+               \r
+#ifdef WITH_ISO14443a\r
                case CMD_SIMULATE_TAG_ISO_14443a:\r
                        SimulateIso14443aTag(c->ext1, c->ext2);  // ## Simulate iso14443a tag - pass tag type & UID\r
                        break;\r
+#endif\r
+\r
+               case CMD_SIMULATE_TAG_LEGIC_RF:\r
+                       LegicRfSimulate();\r
+                       break;\r
 \r
                case CMD_MEASURE_ANTENNA_TUNING:\r
                        MeasureAntennaTuning();\r
Impressum, Datenschutz