]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - winsrc/command.cpp
Add version command
[proxmark3-svn] / winsrc / command.cpp
index 08feb3dd3ac872dfda717b4967a44a3976465e6d..3a858ddc7090800c9095210dd4a0a5d4210f3987 100644 (file)
@@ -2732,6 +2732,13 @@ static void CmdReadmem(char *str)
        SendCommand(&c, FALSE);\r
 }\r
 \r
+static void CmdVersion(char *str)\r
+{\r
+       UsbCommand c;\r
+       c.cmd = CMD_VERSION;\r
+       SendCommand(&c, FALSE);\r
+}\r
+\r
 static void CmdLcdReset(char *str)\r
 {\r
        UsbCommand c;\r
@@ -2844,6 +2851,7 @@ static struct {
        {"tiwrite",                             CmdTIWrite,                                     0, "Write new data to a r/w TI 134 kHz tag"},\r
        {"threshold",                   CmdThreshold,                           1, "Maximize/minimize every value in the graph window depending on threshold"},\r
        {"tune",                                        CmdTune,                                                0, "Measure antenna tuning"},\r
+       {"version",                     CmdVersion,                             0, "Show version inforation about the connected Proxmark"},\r
        {"vchdemod",                    CmdVchdemod,                            0, "['clone'] -- Demodulate samples for VeriChip"},\r
        {"zerocrossings",       CmdZerocrossings,               1, "Count time between zero-crossings"},\r
 };\r
Impressum, Datenschutz