From 9778b272a8e2a84cf940ebb22b6895d82974b8e2 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 9 Sep 2020 02:01:36 +0200 Subject: [PATCH] Add ATS of NTAG Gen2 --- armsrc/mifarecmd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/armsrc/mifarecmd.c b/armsrc/mifarecmd.c index dd2bffedf..6e500bc70 100644 --- a/armsrc/mifarecmd.c +++ b/armsrc/mifarecmd.c @@ -2303,6 +2303,11 @@ void MifareCIdent(void) { isGen = MAGIC_GEN_2; goto OUT; } + // test for NTAG213 magic gen2 + if (memcmp(buf, "\x85\x00\x00\xA0\x00\x00\x0A\xA5\x00\x04\x04\x02\x01\x00\x0F\x03\x79\x0C", 18) == 0) { + isGen = MAGIC_GEN_2; + goto OUT; + } }; OUT: