]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
mifare client update
authorroel@libnfc.org <roel@libnfc.org@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Wed, 30 Dec 2009 00:11:23 +0000 (00:11 +0000)
committerroel@libnfc.org <roel@libnfc.org@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Wed, 30 Dec 2009 00:11:23 +0000 (00:11 +0000)
client/command.c

index 3b4c147f3588e6e410429b02238f30d818edc4a1..a5c561a9ef785a44347708f707e62b5fc10dba14 100644 (file)
@@ -132,6 +132,12 @@ static void CmdHi14areader(char *str)
        SendCommand(&c);\r
 }\r
 \r
        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
 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
        {"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
        {"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