]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/command.c
refactor flashing code into flash.h, so we can share it between platforms
[proxmark3-svn] / client / command.c
index 3b4c147f3588e6e410429b02238f30d818edc4a1..a5c561a9ef785a44347708f707e62b5fc10dba14 100644 (file)
@@ -132,6 +132,12 @@ static void CmdHi14areader(char *str)
        SendCommand(&c);\r
 }\r
 \r
+static void CmdHi14amifare(char *str)\r
+{\r
+       UsbCommand c={CMD_READER_MIFARE, {strtol(str, NULL, 0), 0, 0}};\r
+       SendCommand(&c);\r
+}\r
+\r
 static void CmdHi15reader(char *str)\r
 {\r
        UsbCommand c={CMD_READER_ISO_15693, {strtol(str, NULL, 0), 0, 0}};\r
@@ -2815,6 +2821,7 @@ static struct {
        {"grid",                CmdGrid,                1, "<x> <y> -- overlay grid on graph window, use zero value to turn off either"},\r
        {"hexsamples",          CmdHexsamples,          0, "<blocks> -- Dump big buffer as hex bytes"},\r
        {"hi14alist",           CmdHi14alist,           0, "List ISO 14443a history"},\r
+       {"hi14amifare",         CmdHi14amifare, 0, "Read out sector 0 parity error messages"},\r
        {"hi14areader",         CmdHi14areader,         0, "Act like an ISO14443 Type A reader"},\r
        {"hi14asim",            CmdHi14asim,            0, "<UID> -- Fake ISO 14443a tag"},\r
        {"hi14asnoop",          CmdHi14asnoop,          0, "Eavesdrop ISO 14443 Type A"},\r
Impressum, Datenschutz